Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001692/0.001692, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.002207/0.002207, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 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 1.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2315/0.2315, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 75.88 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.349, allocations: 66.02 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01416/0.3632, allocations: 10.52 MB / 0.5721 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009545/0.3727, allocations: 4.111 MB / 0.5761 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.3746, allocations: 95.5 kB / 0.5762 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005513/0.3801, allocations: 2.663 MB / 0.5788 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006092/0.3862, allocations: 2.051 MB / 0.5808 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.3884, allocations: 0.9085 MB / 0.5817 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008799/0.3972, allocations: 5.685 MB / 0.5872 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004273/0.4014, allocations: 2.818 MB / 0.59 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003523/0.405, allocations: 1.752 MB / 0.5917 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/0.4092, allocations: 2.711 MB / 0.5943 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.4104, allocations: 392 kB / 0.5947 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.4133, allocations: 1.303 MB / 0.596 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.4161, allocations: 2.24 MB / 0.5982 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003031/0.4191, allocations: 1.821 MB / 0.5999 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009904/0.429, allocations: 7.915 MB / 0.6077 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.429, allocations: 0 / 0.6077 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.429, allocations: 0 / 0.6077 GB, free: 5.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001744/0.4292, allocations: 0 / 0.6077 GB, free: 5.023 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01293/0.4421, allocations: 5.551 MB / 0.6131 GB, free: 15.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4422, allocations: 12.02 kB / 0.6131 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.4537, allocations: 2.502 MB / 0.6156 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009045/0.4628, allocations: 3.316 MB / 0.6188 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.463, allocations: 238.5 kB / 0.619 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.4641, allocations: 347.6 kB / 0.6194 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.4853, allocations: 10.92 MB / 0.63 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.4855, allocations: 59.52 kB / 0.6301 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004963/0.486, allocations: 155.9 kB / 0.6302 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003348/0.4893, allocations: 2.002 MB / 0.6322 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.509, allocations: 9.416 MB / 0.6414 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06108/0.5701, allocations: 37.97 MB / 0.6785 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.5813, allocations: 3.628 MB / 0.682 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.5843, allocations: 1.779 MB / 0.6837 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0125/0.5968, allocations: 5.767 MB / 0.6894 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.5969, allocations: 51.56 kB / 0.6894 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 5.24e-06/0.5969, allocations: 3.938 kB / 0.6894 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.1793/0.7762, allocations: 40.98 MB / 0.7294 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.7764, allocations: 201.9 kB / 0.7296 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006767/0.7831, allocations: 4.038 MB / 0.7336 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000647/0.7838, allocations: 61.7 kB / 0.7336 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2667/1.05, allocations: 3.31 MB / 0.7369 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.052, allocations: 0.9211 MB / 0.7378 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002568/1.054, allocations: 1.362 MB / 0.7391 GB, free: 156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.728e-05/1.054, allocations: 304.3 kB / 0.7394 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004628/1.059, allocations: 3.628 MB / 0.7429 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005637/1.065, allocations: 7.345 MB / 0.7501 GB, free: 148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.075, allocations: 11.63 MB / 0.7615 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.075, allocations: 39.75 kB / 0.7615 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03501/1.11, allocations: 16.14 MB / 0.7773 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/1.111, allocations: 63.94 kB / 0.7773 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/1.111, allocations: 128 kB / 0.7774 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02211/1.133, allocations: 6.224 MB / 0.7835 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004738/1.137, allocations: 1.489 MB / 0.785 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02912/1.167, allocations: 27.12 MB / 0.8115 GB, free: 89.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/1.172, allocations: 419.9 kB / 0.8119 GB, free: 88.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007806/1.173, allocations: 388 kB / 0.8122 GB, free: 88.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (778): * Single equations (assignments): 773 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003055/1.176, allocations: 2.212 MB / 0.8144 GB, free: 86.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007219/1.176, allocations: 375.5 kB / 0.8147 GB, free: 85.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02622/1.203, allocations: 11.22 MB / 0.8257 GB, free: 74.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/1.203, allocations: 19.05 kB / 0.8257 GB, free: 74.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.203, allocations: 3.938 kB / 0.8257 GB, free: 74.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008398/1.203, allocations: 338.8 kB / 0.826 GB, free: 74.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007724/1.204, allocations: 32 kB / 0.8261 GB, free: 74.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.206, allocations: 184.8 kB / 0.8263 GB, free: 74.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005488/1.207, allocations: 181.6 kB / 0.8264 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01605/1.223, allocations: 8.749 MB / 0.835 GB, free: 65.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009809/1.233, allocations: 9.653 MB / 0.8444 GB, free: 55.59 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002499/1.235, allocations: 2.533 MB / 0.8469 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002666/1.238, allocations: 2.353 MB / 0.8492 GB, free: 50.72 MB / 0.5606 GB Notification: Performance of Backend: time 2.8e-07/1.238, allocations: 0 / 0.8492 GB, free: 50.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009272/1.247, allocations: 5.821 MB / 0.8549 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01383/1.261, allocations: 10.3 MB / 0.8649 GB, free: 34.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.1212/1.382, allocations: 80.62 MB / 0.9436 GB, free: 2.363 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.879204457000014]