Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 167.6 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1484/0.1484, allocations: 32.38 MB / 271.5 MB, free: 14.63 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.514e-05/3.744e-05, allocations: 6.312 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01384/0.01388, allocations: 12.71 MB / 361.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.02476, allocations: 4.705 MB / 366.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/0.02884, allocations: 115.4 kB / 366.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005726/0.03457, allocations: 3.964 MB / 370.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007028/0.0416, allocations: 2.352 MB / 372.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.0451, allocations: 1.201 MB / 374 MB, free: 28 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.05558, allocations: 7.172 MB / 381.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00684/0.06242, allocations: 4.454 MB / 385.6 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008698/0.07112, allocations: 3.91 MB / 389.5 MB, free: 416 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005553/0.07667, allocations: 3.137 MB / 392.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001598/0.07827, allocations: 436 kB / 393.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.08115, allocations: 1.416 MB / 394.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.08413, allocations: 2.696 MB / 397.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.08689, allocations: 1.663 MB / 398.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.09557, allocations: 5.827 MB / 404.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.09557, allocations: 0 / 404.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.09558, allocations: 0 / 404.7 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004155/0.09599, allocations: 0 / 404.7 MB, free: 1.199 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01126/0.1073, allocations: 6.447 MB / 411.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.1073, allocations: 8.031 kB / 411.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.1133, allocations: 2.112 MB / 413.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.1191, allocations: 2.96 MB / 416.2 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.1194, allocations: 283.7 kB / 416.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.1212, allocations: 384.1 kB / 416.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.1323, allocations: 6.494 MB / 423.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.1325, allocations: 55.52 kB / 423.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004574/0.1329, allocations: 187.8 kB / 423.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002272/0.1352, allocations: 1.921 MB / 425.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.1439, allocations: 2.922 MB / 428.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2468/0.3907, allocations: 49.91 MB / 478.3 MB, free: 57.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005491/0.3962, allocations: 2.269 MB / 480.6 MB, free: 57.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005896/0.3968, allocations: 0.5432 MB / 481.1 MB, free: 57.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005878/0.4027, allocations: 4.844 MB / 486 MB, free: 56.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4027, allocations: 54.7 kB / 486 MB, free: 56.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 2.905e-06/0.4027, allocations: 0 / 486 MB, free: 56.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=192): time 0.03233/0.4351, allocations: 12.45 MB / 498.5 MB, free: 51.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.4351, allocations: 208.9 kB / 498.7 MB, free: 51.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.4393, allocations: 4.31 MB / 0.4912 GB, free: 48.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.4394, allocations: 57.7 kB / 0.4913 GB, free: 48.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.4408, allocations: 4.089 MB / 0.4953 GB, free: 44.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/0.4413, allocations: 0.8026 MB / 0.496 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.4424, allocations: 1.526 MB / 0.4975 GB, free: 41.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.4424, allocations: 480.7 kB / 0.498 GB, free: 41.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00091/0.4434, allocations: 0.6732 MB / 0.4986 GB, free: 40.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.4462, allocations: 6.99 MB / 0.5055 GB, free: 31.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004901/0.4511, allocations: 8.32 MB / 0.5136 GB, free: 20.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.332e-05/0.4511, allocations: 44 kB / 0.5136 GB, free: 20.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006724/0.4579, allocations: 5.927 MB / 0.5194 GB, free: 14.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.4579, allocations: 68 kB / 0.5195 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/0.458, allocations: 148 kB / 0.5196 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/0.4601, allocations: 1.022 MB / 0.5206 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.4622, allocations: 1.528 MB / 0.5221 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.4675, allocations: 9.197 MB / 0.5311 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/0.4707, allocations: 306.8 kB / 0.5314 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.4709, allocations: 364 kB / 0.5317 GB, free: 1.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.4722, allocations: 0.7224 MB / 0.5324 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/0.4726, allocations: 469.2 kB / 0.5329 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/0.4751, allocations: 1.653 MB / 0.5345 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.4751, allocations: 24 kB / 0.5345 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4751, allocations: 4 kB / 0.5345 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4752, allocations: 7.969 kB / 0.5345 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009698/0.4849, allocations: 6.845 MB / 0.5412 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4849, allocations: 4 kB / 0.5412 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.4854, allocations: 251.7 kB / 0.5415 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.4873, allocations: 0.766 MB / 0.5422 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.4873, allocations: 40 kB / 0.5423 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/0.4931, allocations: 8.384 MB / 0.5504 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.4931, allocations: 15.94 kB / 0.5505 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003471/0.4966, allocations: 2.909 MB / 0.5533 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008743/0.4974, allocations: 0.5711 MB / 0.5539 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.4977, allocations: 40 kB / 0.5539 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.4985, allocations: 39.98 kB / 0.5539 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.4987, allocations: 148.5 kB / 0.5541 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/0.4988, allocations: 47.98 kB / 0.5541 GB, free: 9.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001668/0.5005, allocations: 1.783 MB / 0.5559 GB, free: 7.602 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5005, allocations: 0 / 0.5559 GB, free: 7.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004361/0.5048, allocations: 1.305 MB / 0.5571 GB, free: 6.297 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000371/0.5052, allocations: 202.8 kB / 0.5573 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004572/0.5098, allocations: 3.864 MB / 0.5611 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5098, allocations: 0 / 0.5611 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.5112, allocations: 1.431 MB / 0.5625 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5128, allocations: 0.5432 MB / 0.563 GB, free: 144 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.5237, allocations: 9.143 MB / 0.572 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.525, allocations: 1.504 MB / 0.5734 GB, free: 5.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001384/0.5263, allocations: 0.5797 MB / 0.574 GB, free: 4.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/0.5272, allocations: 0.6855 MB / 0.5747 GB, free: 3.988 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/0.5272, allocations: 0 / 0.5747 GB, free: 3.988 MB / 426.7 MB Notification: Performance of Templates: time 0.232/0.7592, allocations: 44.8 MB / 0.6184 GB, free: 155.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.18487149104476]