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.0008165/0.0008165, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.000942/0.000942, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.8983/0.8983, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1353/0.1353, allocations: 32.37 MB / 270.4 MB, free: 14.7 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 1.543e-06/1.543e-06, allocations: 0 / 347.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.441e-05, allocations: 10.19 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.009381/0.009405, allocations: 13.06 MB / 360.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009067/0.01847, allocations: 4.744 MB / 365.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.02076, allocations: 111.4 kB / 365.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.02541, allocations: 4.022 MB / 369.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005009/0.03041, allocations: 2.337 MB / 371.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.03244, allocations: 1.205 MB / 373.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007369/0.03981, allocations: 7.165 MB / 380.3 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005279/0.04509, allocations: 4.462 MB / 384.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.05035, allocations: 3.216 MB / 388 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.05466, allocations: 3.246 MB / 391.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.05589, allocations: 444 kB / 391.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.05805, allocations: 1.424 MB / 393.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002011/0.06006, allocations: 2.7 MB / 395.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.06218, allocations: 1.683 MB / 397.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.06902, allocations: 5.866 MB / 403.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.06903, allocations: 3.938 kB / 403.3 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.06904, allocations: 0 / 403.3 MB, free: 1.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002153/0.06925, allocations: 0 / 403.3 MB, free: 1.555 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.01032/0.07957, allocations: 6.865 MB / 410.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.07961, allocations: 12.02 kB / 410.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006844/0.08646, allocations: 3.083 MB / 413.3 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/0.09229, allocations: 3.507 MB / 416.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.09246, allocations: 283.7 kB / 417.1 MB, free: 3.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006704/0.09313, allocations: 384.1 kB / 417.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.1049, allocations: 7.327 MB / 424.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.105, allocations: 59.52 kB / 424.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.1054, allocations: 179.8 kB / 425 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002033/0.1074, allocations: 2.136 MB / 427.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009396/0.1168, allocations: 4.135 MB / 431.3 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2171/0.3339, allocations: 50 MB / 481.3 MB, free: 41.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007556/0.3415, allocations: 3.182 MB / 484.5 MB, free: 41.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.3427, allocations: 0.9047 MB / 485.4 MB, free: 41.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007187/0.3499, allocations: 5.637 MB / 491 MB, free: 40.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3499, allocations: 60.88 kB / 491.1 MB, free: 40.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=206): time 3.577e-06/0.3499, allocations: 0 / 491.1 MB, free: 40.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=262): time 0.05549/0.4054, allocations: 27.18 MB / 0.5061 GB, free: 23.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.4055, allocations: 213.9 kB / 0.5063 GB, free: 23.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/0.4098, allocations: 4.111 MB / 0.5103 GB, free: 19.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005185/0.4103, allocations: 61.7 kB / 0.5104 GB, free: 19.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.4119, allocations: 3.865 MB / 0.5142 GB, free: 16.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009485/0.4129, allocations: 1.045 MB / 0.5152 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.4143, allocations: 1.508 MB / 0.5166 GB, free: 13.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.4143, allocations: 480.7 kB / 0.5171 GB, free: 13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.416, allocations: 1.004 MB / 0.5181 GB, free: 12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/0.4192, allocations: 6.759 MB / 0.5247 GB, free: 2.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/0.4271, allocations: 8.541 MB / 0.533 GB, free: 8.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/0.4273, allocations: 39.31 kB / 0.5331 GB, free: 8.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01653/0.4438, allocations: 8.526 MB / 0.5414 GB, free: 256 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.4439, allocations: 67.12 kB / 0.5415 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/0.444, allocations: 136 kB / 0.5416 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008022/0.452, allocations: 3.628 MB / 0.5451 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/0.4555, allocations: 1.474 MB / 0.5466 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.4744, allocations: 13.37 MB / 0.5596 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/0.479, allocations: 0.5014 MB / 0.5601 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009596/0.4799, allocations: 408 kB / 0.5605 GB, free: 12.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * 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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001882/0.4818, allocations: 0.7029 MB / 0.5612 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009874/0.4828, allocations: 500 kB / 0.5617 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007873/0.4907, allocations: 4.536 MB / 0.5661 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/0.4907, allocations: 28 kB / 0.5661 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.21e-05/0.4907, allocations: 12 kB / 0.5661 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/0.4908, allocations: 12.58 kB / 0.5661 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.5101, allocations: 10.45 MB / 0.5764 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/0.5101, allocations: 7.984 kB / 0.5764 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5111, allocations: 295.6 kB / 0.5766 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00702/0.5182, allocations: 3.235 MB / 0.5798 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005572/0.5187, allocations: 44 kB / 0.5798 GB, free: 8.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.5345, allocations: 12.47 MB / 0.592 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5345, allocations: 11.94 kB / 0.592 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/0.5455, allocations: 5.9 MB / 0.5978 GB, free: 5.473 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/0.5479, allocations: 0.859 MB / 0.5986 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007233/0.5486, allocations: 51.98 kB / 0.5987 GB, free: 4.562 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.5503, allocations: 246.7 kB / 0.5989 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/0.551, allocations: 210 kB / 0.5991 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.5512, allocations: 67.98 kB / 0.5992 GB, free: 4.055 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002831/0.5541, allocations: 1.853 MB / 0.601 GB, free: 2.195 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5541, allocations: 0 / 0.601 GB, free: 2.195 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006778/0.5608, allocations: 1.613 MB / 0.6026 GB, free: 0.582 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006036/0.5615, allocations: 209.5 kB / 0.6028 GB, free: 384 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008359/0.5698, allocations: 5.117 MB / 0.6078 GB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.5698, allocations: 4 kB / 0.6078 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.5732, allocations: 2.207 MB / 0.6099 GB, free: 8.953 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/0.5762, allocations: 0.5422 MB / 0.6105 GB, free: 8.414 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1728/0.749, allocations: 9.991 MB / 0.6202 GB, free: 156.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.7508, allocations: 1.581 MB / 0.6218 GB, free: 156.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003082/0.7539, allocations: 1.678 MB / 0.6234 GB, free: 156 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.7546, allocations: 271.7 kB / 0.6237 GB, free: 156 MB / 474.7 MB Notification: Performance of SimCode: time 2.836e-06/0.7546, allocations: 0 / 0.6237 GB, free: 156 MB / 474.7 MB Notification: Performance of Templates: time 0.07738/0.832, allocations: 68.52 MB / 0.6906 GB, free: 106.8 MB / 474.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.02378988917917]