Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001594/0.001594, allocations: 110.4 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.001837/0.001837, allocations: 204.7 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.812 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.2359/0.2359, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.91 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 66.05 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01763/0.3484, allocations: 13.89 MB / 0.5754 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3604, allocations: 5.219 MB / 0.5805 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.3632, allocations: 131.4 kB / 0.5806 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.3732, allocations: 4.973 MB / 0.5855 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008279/0.3815, allocations: 2.681 MB / 0.5881 GB, free: 9.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.3851, allocations: 1.392 MB / 0.5894 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.3982, allocations: 8.271 MB / 0.5975 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007902/0.4061, allocations: 5.197 MB / 0.6026 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006161/0.4123, allocations: 2.82 MB / 0.6054 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007038/0.4193, allocations: 4.023 MB / 0.6093 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002332/0.4216, allocations: 0.6328 MB / 0.6099 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004624/0.4263, allocations: 1.689 MB / 0.6115 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004792/0.4311, allocations: 3.425 MB / 0.6149 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006248/0.4373, allocations: 2.789 MB / 0.6176 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.4528, allocations: 12.03 MB / 0.6294 GB, free: 14.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4528, allocations: 0 / 0.6294 GB, free: 14.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.4528, allocations: 3.984 kB / 0.6294 GB, free: 14.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003452/0.4532, allocations: 4 kB / 0.6294 GB, free: 14.73 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0227/0.4759, allocations: 8.006 MB / 0.6372 GB, free: 6.648 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4759, allocations: 8.031 kB / 0.6372 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.4916, allocations: 3.097 MB / 0.6402 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/0.5053, allocations: 4.979 MB / 0.6451 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004541/0.5058, allocations: 386 kB / 0.6454 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/0.5081, allocations: 0.5153 MB / 0.646 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.5401, allocations: 15.64 MB / 0.6612 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/0.5403, allocations: 67.47 kB / 0.6613 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009179/0.5412, allocations: 239.8 kB / 0.6615 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004159/0.5454, allocations: 2.544 MB / 0.664 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.5754, allocations: 13.08 MB / 0.6768 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08838/0.6638, allocations: 52.62 MB / 0.7282 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/0.6821, allocations: 5.706 MB / 0.7337 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3058/0.9879, allocations: 3.224 MB / 0.7369 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/1.005, allocations: 9.24 MB / 0.7459 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/1.005, allocations: 67.12 kB / 0.746 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 7.214e-06/1.005, allocations: 3.812 kB / 0.746 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1273/1.132, allocations: 39.09 MB / 0.7842 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.133, allocations: 239.9 kB / 0.7844 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005548/1.138, allocations: 5.448 MB / 0.7897 GB, free: 112 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006752/1.139, allocations: 77.7 kB / 0.7898 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.141, allocations: 4.542 MB / 0.7942 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/1.142, allocations: 1.322 MB / 0.7955 GB, free: 106.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/1.144, allocations: 1.754 MB / 0.7972 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/1.144, allocations: 309 kB / 0.7975 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/1.148, allocations: 4.085 MB / 0.8015 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007728/1.156, allocations: 8.73 MB / 0.81 GB, free: 89.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.169, allocations: 13.56 MB / 0.8233 GB, free: 73.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/1.169, allocations: 48 kB / 0.8233 GB, free: 73.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.0334/1.202, allocations: 16.29 MB / 0.8392 GB, free: 57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.998e-05/1.203, allocations: 72 kB / 0.8393 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/1.203, allocations: 160 kB / 0.8394 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/1.216, allocations: 4.272 MB / 0.8436 GB, free: 52.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006029/1.222, allocations: 1.895 MB / 0.8455 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02571/1.247, allocations: 21.16 MB / 0.8661 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007172/1.255, allocations: 0.5072 MB / 0.8666 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001573/1.256, allocations: 491.6 kB / 0.8671 GB, free: 28.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1027): * Single equations (assignments): 1023 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005916/1.262, allocations: 3.122 MB / 0.8701 GB, free: 25.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.264, allocations: 0.5045 MB / 0.8706 GB, free: 24.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0208/1.284, allocations: 10.02 MB / 0.8804 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.434e-05/1.285, allocations: 23.88 kB / 0.8804 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.285, allocations: 0 / 0.8804 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/1.286, allocations: 472.4 kB / 0.8809 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/1.288, allocations: 56 kB / 0.8809 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/1.292, allocations: 231.7 kB / 0.8812 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/1.293, allocations: 273.6 kB / 0.8814 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01943/1.313, allocations: 9.753 MB / 0.8909 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01846/1.331, allocations: 11.36 MB / 0.902 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004871/1.336, allocations: 2.961 MB / 0.9049 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006399/1.342, allocations: 3.232 MB / 0.9081 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of Backend: time 6.51e-07/1.342, allocations: 0 / 0.9081 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01786/1.36, allocations: 6.845 MB / 0.9148 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03193/1.392, allocations: 14.49 MB / 0.9289 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.4331/1.825, allocations: 93.38 MB / 1.02 GB, free: 204.5 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 8.876155780002591]