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.0009195/0.0009195, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009442/0.0009442, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.9645/0.9645, allocations: 158.6 MB / 186 MB, free: 2.758 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.1922/0.1922, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.944e-06/1.944e-06, allocations: 0 / 299.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.565e-05, allocations: 2.312 kB / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.1625/0.1625, allocations: 12.73 MB / 311.8 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.1745, allocations: 4.878 MB / 316.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.1782, allocations: 113.6 kB / 316.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006115/0.1843, allocations: 4.02 MB / 320.8 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.191, allocations: 2.357 MB / 323.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.1937, allocations: 1.22 MB / 324.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008224/0.2019, allocations: 7.143 MB / 331.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006077/0.208, allocations: 4.567 MB / 336.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007732/0.2157, allocations: 3.875 MB / 340 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.2204, allocations: 3.008 MB / 343 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.2217, allocations: 436 kB / 343.4 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.2245, allocations: 1.393 MB / 344.8 MB, free: 392 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002533/0.227, allocations: 2.696 MB / 347.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003138/0.2301, allocations: 1.667 MB / 349.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00878/0.2389, allocations: 5.812 MB / 355 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.2389, allocations: 4 kB / 355 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.2389, allocations: 3.938 kB / 355 MB, free: 6.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003687/0.2393, allocations: 4 kB / 355 MB, free: 6.164 MB / 314.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.009808/0.2491, allocations: 5.769 MB / 360.7 MB, free: 344 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2491, allocations: 8.031 kB / 360.7 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.2526, allocations: 1.292 MB / 362 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004145/0.2568, allocations: 2.76 MB / 364.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.2569, allocations: 279.7 kB / 365.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006072/0.2575, allocations: 388.1 kB / 365.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008014/0.2656, allocations: 5.832 MB / 371.3 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.2657, allocations: 59.52 kB / 371.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.266, allocations: 183.8 kB / 371.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/0.2677, allocations: 1.925 MB / 373.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006915/0.2746, allocations: 2.939 MB / 376.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03776/0.3123, allocations: 36.19 MB / 412.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/0.3173, allocations: 2.126 MB / 414.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.318, allocations: 435.2 kB / 415.1 MB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007332/0.3254, allocations: 4.525 MB / 419.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.3254, allocations: 55.5 kB / 419.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 5.821e-06/0.3254, allocations: 0 / 419.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=192): time 0.02865/0.3541, allocations: 9.903 MB / 429.6 MB, free: 9.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.335e-05/0.3542, allocations: 197.2 kB / 429.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/0.3586, allocations: 3.877 MB / 433.7 MB, free: 5.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003746/0.3589, allocations: 53.7 kB / 433.7 MB, free: 5.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/0.361, allocations: 3.535 MB / 437.3 MB, free: 1.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008813/0.3618, allocations: 0.7869 MB / 438 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/0.3633, allocations: 1.311 MB / 439.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.3633, allocations: 305.1 kB / 439.7 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3648, allocations: 0.8629 MB / 440.5 MB, free: 14.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/0.3683, allocations: 4.973 MB / 445.5 MB, free: 7.098 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00595/0.3742, allocations: 6.416 MB / 451.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/0.3744, allocations: 40 kB / 451.9 MB, free: 14.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.01019/0.3846, allocations: 5.102 MB / 457 MB, free: 9.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.313e-05/0.3847, allocations: 68 kB / 457.1 MB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.3848, allocations: 148 kB / 457.3 MB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.3871, allocations: 1.006 MB / 458.3 MB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.3907, allocations: 1.536 MB / 459.8 MB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2085/0.5992, allocations: 6.952 MB / 466.8 MB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/0.6037, allocations: 305.9 kB / 467.1 MB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008852/0.6045, allocations: 359.9 kB / 467.4 MB, free: 126.9 MB / 426.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.002489/0.607, allocations: 0.6804 MB / 468.1 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008602/0.6079, allocations: 265.8 kB / 468.3 MB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.6108, allocations: 1.473 MB / 469.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.6108, allocations: 26.48 kB / 469.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.6108, allocations: 4.75 kB / 469.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.6108, allocations: 13.12 kB / 469.9 MB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.6237, allocations: 5.845 MB / 475.7 MB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.6237, allocations: 6.594 kB / 475.7 MB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008437/0.6245, allocations: 257.1 kB / 476 MB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/0.6276, allocations: 0.9509 MB / 476.9 MB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.6279, allocations: 36.47 kB / 476.9 MB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004642/0.6325, allocations: 6.17 MB / 483.1 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.6325, allocations: 13.5 kB / 483.1 MB, free: 121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.6362, allocations: 2.441 MB / 485.6 MB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/0.6379, allocations: 0.5459 MB / 486.1 MB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/0.6384, allocations: 40.33 kB / 486.2 MB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.6394, allocations: 34.75 kB / 486.2 MB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.6396, allocations: 146.6 kB / 486.3 MB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.6397, allocations: 46.91 kB / 486.4 MB, free: 120.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001913/0.6416, allocations: 1.486 MB / 487.9 MB, free: 119.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6416, allocations: 0 / 487.9 MB, free: 119.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004917/0.6466, allocations: 1.294 MB / 489.2 MB, free: 119.9 MB / 426.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.000486/0.647, allocations: 196 kB / 489.4 MB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004748/0.6518, allocations: 3.408 MB / 492.8 MB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002811/0.6521, allocations: 106.8 kB / 492.9 MB, free: 118.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.6535, allocations: 1.143 MB / 494 MB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/0.657, allocations: 0.7683 MB / 494.8 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.6707, allocations: 9.016 MB / 0.492 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.6724, allocations: 1.507 MB / 0.4935 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001686/0.6741, allocations: 0.5834 MB / 0.494 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/0.675, allocations: 0.6447 MB / 0.4947 GB, free: 110 MB / 426.7 MB Notification: Performance of SimCode: time 2.906e-06/0.675, allocations: 0 / 0.4947 GB, free: 110 MB / 426.7 MB Notification: Performance of Templates: time 0.05928/0.7343, allocations: 43.75 MB / 0.5374 GB, free: 66.62 MB / 426.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: 4.668535782024264]