Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008462/0.0008462, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001892, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006948/0.0006948, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008754/0.00157, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9898/0.9898, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2243/1.214, allocations: 49.5 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1476/0.1476, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02357/0.1712, allocations: 12.29 MB / 265.9 MB, free: 7.84 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.497e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01212/0.01215, allocations: 15.27 MB / 282.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.02448, allocations: 5.587 MB / 288.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003383/0.02786, allocations: 127.4 kB / 288.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006237/0.0341, allocations: 5.205 MB / 293.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006393/0.04049, allocations: 2.783 MB / 296.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.04311, allocations: 1.446 MB / 297.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009437/0.05255, allocations: 7.95 MB / 305.6 MB, free: 36 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0067/0.05925, allocations: 5.593 MB / 311.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008201/0.06745, allocations: 5.143 MB / 316.3 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.0731, allocations: 4.053 MB / 320.4 MB, free: 1.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.07487, allocations: 0.6484 MB / 321 MB, free: 460 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004165/0.07904, allocations: 1.787 MB / 322.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004116/0.08315, allocations: 3.235 MB / 326 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003895/0.08705, allocations: 1.851 MB / 327.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009078/0.09613, allocations: 7.05 MB / 334.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.09614, allocations: 0 / 334.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09614, allocations: 0 / 334.9 MB, free: 2.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002778/0.09642, allocations: 0 / 334.9 MB, free: 2.484 MB / 330.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.1807/0.2771, allocations: 8.785 MB / 343.7 MB, free: 34.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2771, allocations: 9.047 kB / 343.7 MB, free: 34.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.2823, allocations: 1.59 MB / 345.3 MB, free: 34.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/0.2891, allocations: 3.525 MB / 348.8 MB, free: 33.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.2895, allocations: 378.9 kB / 349.2 MB, free: 33.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.291, allocations: 0.5141 MB / 349.7 MB, free: 33.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.3082, allocations: 7.417 MB / 357.1 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.3085, allocations: 69.58 kB / 357.2 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008258/0.3093, allocations: 233.1 kB / 357.4 MB, free: 31.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00224/0.3115, allocations: 2.319 MB / 359.8 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009392/0.3209, allocations: 3.743 MB / 363.5 MB, free: 28.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04702/0.3679, allocations: 43.05 MB / 406.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006605/0.3745, allocations: 2.685 MB / 409.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.3758, allocations: 0.6481 MB / 409.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.3862, allocations: 6.648 MB / 416.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.3863, allocations: 59.84 kB / 416.6 MB, free: 7.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=229): time 5.13e-06/0.3863, allocations: 0 / 416.6 MB, free: 7.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=313): time 0.03494/0.4212, allocations: 12.5 MB / 429.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.4213, allocations: 165.8 kB / 429.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/0.4263, allocations: 4.466 MB / 433.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004881/0.4268, allocations: 72.22 kB / 433.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/0.429, allocations: 4.175 MB / 438 MB, free: 3.703 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.4302, allocations: 1.205 MB / 439.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/0.4318, allocations: 1.603 MB / 440.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.4319, allocations: 301.1 kB / 441.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.4338, allocations: 1.145 MB / 442.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.4383, allocations: 5.701 MB / 447.9 MB, free: 7.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008926/0.4472, allocations: 7.529 MB / 455.4 MB, free: 14.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/0.4474, allocations: 48 kB / 455.5 MB, free: 14.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01326/0.4607, allocations: 6.349 MB / 461.8 MB, free: 8.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.4608, allocations: 76 kB / 461.9 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.4609, allocations: 160 kB / 462.1 MB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/0.4649, allocations: 1.449 MB / 463.5 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/0.4692, allocations: 2.043 MB / 465.6 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006635/0.4758, allocations: 4.687 MB / 470.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/0.4806, allocations: 351.7 kB / 470.6 MB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008761/0.4815, allocations: 412 kB / 471 MB, free: 15.11 MB / 426.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.002232/0.4837, allocations: 0.7777 MB / 471.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.4848, allocations: 355.6 kB / 472.1 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.4891, allocations: 2.459 MB / 474.6 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/0.4891, allocations: 39.91 kB / 474.6 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.4891, allocations: 14.08 kB / 474.6 MB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.4891, allocations: 15.94 kB / 474.6 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.5031, allocations: 8.3 MB / 482.9 MB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.5031, allocations: 20 kB / 483 MB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.5043, allocations: 496.2 kB / 483.5 MB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/0.5064, allocations: 0.7433 MB / 484.2 MB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00389/0.5103, allocations: 1.445 MB / 485.6 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/0.5104, allocations: 67.98 kB / 485.7 MB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.5153, allocations: 3.539 MB / 489.2 MB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/0.5153, allocations: 19.94 kB / 489.3 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/0.5215, allocations: 3.862 MB / 493.1 MB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/0.5226, allocations: 71.98 kB / 493.2 MB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.524, allocations: 67.98 kB / 493.3 MB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.5243, allocations: 235.5 kB / 493.5 MB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.5244, allocations: 75.98 kB / 493.6 MB, free: 8.785 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002146/0.5266, allocations: 1.744 MB / 495.3 MB, free: 7.055 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5266, allocations: 0 / 495.3 MB, free: 7.055 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006051/0.5326, allocations: 1.785 MB / 497.1 MB, free: 5.27 MB / 442.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.0006337/0.5332, allocations: 267.6 kB / 497.4 MB, free: 4.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006014/0.5393, allocations: 3.838 MB / 0.4894 GB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000345/0.5396, allocations: 144 kB / 0.4896 GB, free: 1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1521/0.6917, allocations: 1.131 MB / 0.4907 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005264/0.6969, allocations: 1.39 MB / 0.492 GB, free: 127.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/0.721, allocations: 12.34 MB / 0.5041 GB, free: 122.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/0.724, allocations: 1.983 MB / 0.506 GB, free: 122 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002331/0.7263, allocations: 0.7219 MB / 0.5067 GB, free: 122 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.7277, allocations: 0.7984 MB / 0.5075 GB, free: 121.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7277, allocations: 0 / 0.5075 GB, free: 121.9 MB / 442.7 MB Notification: Performance of Templates: time 0.07945/0.8072, allocations: 64.25 MB / 0.5703 GB, free: 73.27 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0150173753499985]