Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000919/0.000919, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009727/0.0009727, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9142/0.9142, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.446e-05, allocations: 5.5 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01099/0.011, allocations: 15.05 MB / 338.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009165/0.02017, allocations: 5.543 MB / 343.8 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.02143, allocations: 131.3 kB / 343.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004733/0.02617, allocations: 5.494 MB / 349.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.02967, allocations: 2.795 MB / 352.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.03156, allocations: 1.571 MB / 353.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006516/0.03808, allocations: 9.328 MB / 363.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00492/0.043, allocations: 6.294 MB / 369.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.04835, allocations: 5.74 MB / 375.2 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/0.05257, allocations: 4.049 MB / 379.2 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.05359, allocations: 0.6445 MB / 379.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.05566, allocations: 1.732 MB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002252/0.05792, allocations: 3.604 MB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.06033, allocations: 2.263 MB / 387.5 MB, free: 9.207 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006964/0.06729, allocations: 7.561 MB / 395 MB, free: 1.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.06729, allocations: 0 / 395 MB, free: 1.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.0673, allocations: 4 kB / 395 MB, free: 1.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001499/0.06745, allocations: 0 / 395 MB, free: 1.617 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.00869/0.07614, allocations: 7.313 MB / 402.3 MB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.07617, allocations: 8.031 kB / 402.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.07995, allocations: 1.604 MB / 403.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.08388, allocations: 3.463 MB / 407.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.08406, allocations: 382.2 kB / 407.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.08465, allocations: 0.508 MB / 408.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007819/0.09247, allocations: 7.432 MB / 415.7 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.09258, allocations: 67.45 kB / 415.8 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.09296, allocations: 227.8 kB / 416 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/0.09475, allocations: 2.318 MB / 418.3 MB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007227/0.102, allocations: 3.742 MB / 422.1 MB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2222/0.3241, allocations: 43 MB / 465.1 MB, free: 80.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.3306, allocations: 2.74 MB / 467.8 MB, free: 79.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.3317, allocations: 0.654 MB / 468.5 MB, free: 79.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009517/0.3412, allocations: 6.663 MB / 475.1 MB, free: 79.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3413, allocations: 58.59 kB / 475.2 MB, free: 79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 4.769e-06/0.3413, allocations: 0 / 475.2 MB, free: 79 MB / 410.7 MB Notification: Performance of matching and sorting (n=313): time 0.03105/0.3723, allocations: 12.72 MB / 487.9 MB, free: 70.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3724, allocations: 239.6 kB / 488.1 MB, free: 70.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/0.3759, allocations: 4.426 MB / 492.6 MB, free: 66.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.3762, allocations: 81.16 kB / 492.6 MB, free: 66.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.3775, allocations: 4.177 MB / 496.8 MB, free: 62.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008921/0.3783, allocations: 1.201 MB / 498 MB, free: 61.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/0.3797, allocations: 1.597 MB / 499.6 MB, free: 59.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.3797, allocations: 301.1 kB / 499.9 MB, free: 59.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.3814, allocations: 1.141 MB / 0.4893 GB, free: 58.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/0.3843, allocations: 5.71 MB / 0.4949 GB, free: 50.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.3896, allocations: 7.516 MB / 0.5022 GB, free: 40.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/0.3897, allocations: 48 kB / 0.5023 GB, free: 40.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01024/0.3999, allocations: 6.355 MB / 0.5085 GB, free: 34.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.4, allocations: 76 kB / 0.5086 GB, free: 34.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.4001, allocations: 160 kB / 0.5087 GB, free: 34.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003494/0.4036, allocations: 1.454 MB / 0.5101 GB, free: 32.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.407, allocations: 1.829 MB / 0.5119 GB, free: 31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.4126, allocations: 4.666 MB / 0.5165 GB, free: 26.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/0.4171, allocations: 351.7 kB / 0.5168 GB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009586/0.4181, allocations: 416.6 kB / 0.5172 GB, free: 25.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002593/0.4207, allocations: 0.7741 MB / 0.518 GB, free: 24.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/0.4217, allocations: 359.6 kB / 0.5183 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.4261, allocations: 2.452 MB / 0.5207 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/0.4261, allocations: 35.98 kB / 0.5207 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.4261, allocations: 12 kB / 0.5207 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.4262, allocations: 11.95 kB / 0.5207 GB, free: 21.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.4412, allocations: 8.27 MB / 0.5288 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/0.4413, allocations: 12 kB / 0.5288 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4424, allocations: 427.9 kB / 0.5292 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003852/0.4462, allocations: 1.441 MB / 0.5307 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.4465, allocations: 67.94 kB / 0.5307 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004617/0.4511, allocations: 3.521 MB / 0.5342 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.4511, allocations: 15.94 kB / 0.5342 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.4566, allocations: 3.872 MB / 0.538 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.4579, allocations: 496.4 kB / 0.5384 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/0.4585, allocations: 63.44 kB / 0.5385 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.4597, allocations: 72.02 kB / 0.5386 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.4601, allocations: 237.2 kB / 0.5388 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.4602, allocations: 75.98 kB / 0.5389 GB, free: 2.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001826/0.462, allocations: 1.72 MB / 0.5405 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.462, allocations: 0 / 0.5405 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005574/0.4676, allocations: 1.738 MB / 0.5422 GB, free: 15.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (revolute.phi,revolute.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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006698/0.4683, allocations: 259.4 kB / 0.5425 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00568/0.4739, allocations: 3.841 MB / 0.5462 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003094/0.4742, allocations: 116.2 kB / 0.5463 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.4758, allocations: 1.13 MB / 0.5474 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/0.4802, allocations: 0.9993 MB / 0.5484 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.4987, allocations: 11.98 MB / 0.5601 GB, free: 12.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00265/0.5013, allocations: 1.963 MB / 0.562 GB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002245/0.5036, allocations: 0.7131 MB / 0.5627 GB, free: 9.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.5049, allocations: 0.8057 MB / 0.5635 GB, free: 8.945 MB / 442.7 MB Notification: Performance of SimCode: time 2.494e-06/0.5049, allocations: 3.719 kB / 0.5635 GB, free: 8.945 MB / 442.7 MB Notification: Performance of Templates: time 0.2383/0.7432, allocations: 62.04 MB / 0.6241 GB, free: 152.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.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.917472504079342]