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.001026/0.001026, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001015/0.001015, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9483/0.9483, allocations: 177.1 MB / 205 MB, free: 5.398 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.2785/0.2785, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.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 1.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.365e-05, allocations: 5.828 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01215/0.01218, allocations: 15.43 MB / 393.4 MB, free: 3.184 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.02302, allocations: 5.374 MB / 398.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.02573, allocations: 135.2 kB / 398.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006406/0.03214, allocations: 5.514 MB / 404.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005637/0.03777, allocations: 2.772 MB / 407.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.03994, allocations: 1.567 MB / 408.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.05037, allocations: 9.348 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006822/0.05719, allocations: 6.154 MB / 424.3 MB, free: 4.164 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007891/0.06508, allocations: 5.763 MB / 430.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.07053, allocations: 4.217 MB / 434.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001439/0.07197, allocations: 0.6445 MB / 434.9 MB, free: 9.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.07486, allocations: 1.74 MB / 436.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002918/0.07778, allocations: 3.604 MB / 440.3 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003322/0.0811, allocations: 2.259 MB / 442.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2037/0.2848, allocations: 7.563 MB / 450.1 MB, free: 65.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2848, allocations: 0 / 450.1 MB, free: 65.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2848, allocations: 0 / 450.1 MB, free: 65.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004148/0.2852, allocations: 0 / 450.1 MB, free: 65.09 MB / 410.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.01655/0.3017, allocations: 8.609 MB / 458.7 MB, free: 62.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3018, allocations: 13.27 kB / 458.7 MB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.3122, allocations: 3.633 MB / 462.3 MB, free: 61.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007788/0.32, allocations: 4.184 MB / 466.5 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.3203, allocations: 380.6 kB / 466.9 MB, free: 60.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001439/0.3217, allocations: 0.5072 MB / 467.4 MB, free: 60.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.344, allocations: 9.481 MB / 476.9 MB, free: 56.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003775/0.3444, allocations: 63.7 kB / 477 MB, free: 56.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/0.3456, allocations: 240.2 kB / 477.2 MB, free: 56.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003149/0.3487, allocations: 2.496 MB / 479.7 MB, free: 56.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.3632, allocations: 5.207 MB / 484.9 MB, free: 55.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04758/0.4108, allocations: 59.72 MB / 0.5319 GB, free: 24.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008237/0.419, allocations: 3.627 MB / 0.5354 GB, free: 24.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4206, allocations: 0.9496 MB / 0.5363 GB, free: 23.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.4316, allocations: 7.7 MB / 0.5438 GB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.4316, allocations: 62.67 kB / 0.5439 GB, free: 16.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 5.54e-06/0.4316, allocations: 2.953 kB / 0.5439 GB, free: 16.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.04343/0.475, allocations: 21.27 MB / 0.5647 GB, free: 11.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.908e-05/0.4751, allocations: 239.4 kB / 0.5649 GB, free: 11.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006262/0.4814, allocations: 4.96 MB / 0.5697 GB, free: 6.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005797/0.482, allocations: 73.7 kB / 0.5698 GB, free: 6.398 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00303/0.485, allocations: 4.77 MB / 0.5745 GB, free: 1.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001407/0.4864, allocations: 1.235 MB / 0.5757 GB, free: 452 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/0.4885, allocations: 1.804 MB / 0.5774 GB, free: 14.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4886, allocations: 476.8 kB / 0.5779 GB, free: 14.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.4904, allocations: 1.071 MB / 0.5789 GB, free: 13.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/0.4953, allocations: 8.021 MB / 0.5868 GB, free: 1.973 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008471/0.5037, allocations: 9.969 MB / 0.5965 GB, free: 5.219 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/0.5039, allocations: 48 kB / 0.5966 GB, free: 5.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.0163/0.5202, allocations: 8.456 MB / 0.6048 GB, free: 12.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.5203, allocations: 83.97 kB / 0.6049 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/0.5204, allocations: 160 kB / 0.605 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004593/0.525, allocations: 1.84 MB / 0.6068 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/0.5295, allocations: 1.887 MB / 0.6087 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/0.538, allocations: 6.053 MB / 0.6146 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/0.5427, allocations: 0.5462 MB / 0.6151 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009418/0.5436, allocations: 476 kB / 0.6156 GB, free: 1.52 MB / 490.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.00278/0.5464, allocations: 0.8283 MB / 0.6164 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/0.5476, allocations: 0.5904 MB / 0.617 GB, free: 84 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1726/0.7203, allocations: 3.462 MB / 0.6204 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.7203, allocations: 31.72 kB / 0.6204 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.7203, allocations: 8.125 kB / 0.6204 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.7203, allocations: 16.38 kB / 0.6204 GB, free: 151.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.7347, allocations: 10.47 MB / 0.6306 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.7347, allocations: 12.84 kB / 0.6306 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.7358, allocations: 495.7 kB / 0.6311 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003841/0.7397, allocations: 1.616 MB / 0.6327 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/0.7398, allocations: 67.47 kB / 0.6328 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/0.7455, allocations: 4.809 MB / 0.6375 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7455, allocations: 15.72 kB / 0.6375 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00716/0.7527, allocations: 5.306 MB / 0.6427 GB, free: 145.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008941/0.7536, allocations: 0.5295 MB / 0.6432 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/0.754, allocations: 61.97 kB / 0.6432 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7553, allocations: 253.2 kB / 0.6435 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/0.7556, allocations: 237.8 kB / 0.6437 GB, free: 145.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.7558, allocations: 98.77 kB / 0.6438 GB, free: 145.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003459/0.7593, allocations: 2.211 MB / 0.646 GB, free: 144.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7593, allocations: 0 / 0.646 GB, free: 144.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005009/0.7643, allocations: 1.746 MB / 0.6477 GB, free: 144.6 MB / 490.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.0006401/0.7649, allocations: 275.9 kB / 0.6479 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006717/0.7716, allocations: 4.579 MB / 0.6524 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.7716, allocations: 3.656 kB / 0.6524 GB, free: 143.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.7733, allocations: 1.427 MB / 0.6538 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/0.7761, allocations: 0.6816 MB / 0.6545 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.7893, allocations: 12.26 MB / 0.6664 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.7907, allocations: 1.982 MB / 0.6684 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002764/0.7935, allocations: 2.106 MB / 0.6704 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.7941, allocations: 334 kB / 0.6707 GB, free: 134.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.834e-06/0.7941, allocations: 7.938 kB / 0.6707 GB, free: 134.1 MB / 490.7 MB Notification: Performance of Templates: time 0.07434/0.8684, allocations: 59.49 MB / 0.7288 GB, free: 77.79 MB / 490.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.0860483618453145]