Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009717/0.0009717, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009541/0.0009541, allocations: 174.2 kB / 24.92 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2701/0.2701, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.506e-05, allocations: 5.609 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0143/0.01433, allocations: 12.69 MB / 338 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008796/0.02312, allocations: 4.882 MB / 342.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.02469, allocations: 115.4 kB / 343 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.02855, allocations: 3.936 MB / 346.9 MB, free: 1.973 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004421/0.03297, allocations: 2.29 MB / 349.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.03475, allocations: 1.189 MB / 350.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006492/0.04124, allocations: 7.693 MB / 358.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.04509, allocations: 4.205 MB / 362.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.04948, allocations: 4.105 MB / 366.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003996/0.05348, allocations: 2.981 MB / 369.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007862/0.05427, allocations: 436 kB / 369.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.05617, allocations: 1.439 MB / 371.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001826/0.05799, allocations: 2.657 MB / 373.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.05957, allocations: 1.651 MB / 375.5 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00503/0.0646, allocations: 5.758 MB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.06461, allocations: 0 / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.06461, allocations: 4 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.656e-05/0.0647, allocations: 0 / 381.3 MB, free: 15.4 MB / 362.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.006726/0.07142, allocations: 5.766 MB / 387.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.07146, allocations: 11.97 kB / 387.1 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.07449, allocations: 1.292 MB / 388.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003374/0.07786, allocations: 2.716 MB / 391.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.07801, allocations: 283.7 kB / 391.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.07842, allocations: 388.1 kB / 391.7 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007449/0.08587, allocations: 5.835 MB / 397.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/0.08609, allocations: 55.52 kB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008842/0.08698, allocations: 175.9 kB / 397.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002589/0.08957, allocations: 1.929 MB / 399.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.1013, allocations: 2.942 MB / 402.7 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03909/0.1404, allocations: 36.16 MB / 438.8 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005133/0.1456, allocations: 2.129 MB / 441 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/0.1463, allocations: 436.3 kB / 441.4 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007876/0.1542, allocations: 4.505 MB / 445.9 MB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1543, allocations: 55.5 kB / 445.9 MB, free: 12.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=160): time 5.571e-06/0.1543, allocations: 0 / 445.9 MB, free: 12.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=192): time 0.02844/0.1827, allocations: 9.891 MB / 455.8 MB, free: 2.527 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.337e-05/0.1828, allocations: 209.2 kB / 456 MB, free: 2.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.178/0.3608, allocations: 3.834 MB / 459.9 MB, free: 125.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004015/0.3612, allocations: 51.3 kB / 459.9 MB, free: 125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.3632, allocations: 3.538 MB / 463.5 MB, free: 123.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.3642, allocations: 0.7706 MB / 464.2 MB, free: 123.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.3656, allocations: 1.314 MB / 465.5 MB, free: 122.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.3656, allocations: 305.7 kB / 465.8 MB, free: 122.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.367, allocations: 0.8636 MB / 466.7 MB, free: 122.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.3695, allocations: 4.973 MB / 471.7 MB, free: 117.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004278/0.3738, allocations: 6.431 MB / 478.1 MB, free: 111.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.444e-05/0.3739, allocations: 42.28 kB / 478.1 MB, free: 111.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006856/0.3807, allocations: 5.091 MB / 483.2 MB, free: 110.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.3808, allocations: 69.38 kB / 483.3 MB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001417/0.3809, allocations: 148.7 kB / 483.5 MB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.3831, allocations: 1.004 MB / 484.5 MB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.3862, allocations: 1.612 MB / 486.1 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005574/0.3918, allocations: 6.978 MB / 493 MB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006141/0.3979, allocations: 302.9 kB / 493.3 MB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.399, allocations: 356 kB / 493.7 MB, free: 101.1 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.003092/0.4021, allocations: 0.6876 MB / 494.4 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.4034, allocations: 260.4 kB / 494.6 MB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.4071, allocations: 1.47 MB / 496.1 MB, free: 99.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.4072, allocations: 26.34 kB / 496.1 MB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.4072, allocations: 8 kB / 496.1 MB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.4072, allocations: 7.828 kB / 496.1 MB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.4225, allocations: 5.823 MB / 0.4902 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.4225, allocations: 7.312 kB / 0.4902 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.4232, allocations: 279.6 kB / 0.4905 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.4252, allocations: 0.9579 MB / 0.4914 GB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.4253, allocations: 39.98 kB / 0.4914 GB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.4288, allocations: 6.183 MB / 0.4975 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.4288, allocations: 11.94 kB / 0.4975 GB, free: 85.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.4317, allocations: 2.447 MB / 0.4999 GB, free: 83.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/0.4322, allocations: 404.3 kB / 0.5003 GB, free: 82.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.4325, allocations: 36 kB / 0.5003 GB, free: 82.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/0.4332, allocations: 47.92 kB / 0.5004 GB, free: 82.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.4334, allocations: 136.6 kB / 0.5005 GB, free: 82.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.4334, allocations: 51.98 kB / 0.5005 GB, free: 82.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001001/0.4344, allocations: 1.453 MB / 0.502 GB, free: 80.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4344, allocations: 0 / 0.502 GB, free: 80.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003609/0.4381, allocations: 1.277 MB / 0.5032 GB, free: 79.71 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.0002769/0.4383, allocations: 180.5 kB / 0.5034 GB, free: 79.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.4416, allocations: 3.406 MB / 0.5067 GB, free: 76.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001797/0.4417, allocations: 104.2 kB / 0.5068 GB, free: 75.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.443, allocations: 1.153 MB / 0.5079 GB, free: 74.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.4455, allocations: 0.7737 MB / 0.5087 GB, free: 74.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009631/0.4551, allocations: 8.959 MB / 0.5174 GB, free: 64.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.4564, allocations: 1.503 MB / 0.5189 GB, free: 63.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001452/0.4579, allocations: 0.5758 MB / 0.5195 GB, free: 62.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/0.4589, allocations: 0.6378 MB / 0.5201 GB, free: 62.16 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4589, allocations: 4 kB / 0.5201 GB, free: 62.16 MB / 426.7 MB Notification: Performance of Templates: time 0.05928/0.5181, allocations: 43.12 MB / 0.5622 GB, free: 19.43 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.430621135979891]