Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.002027/0.002027, allocations: 77.08 kB / 19.93 MB, free: 1.77 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.002705/0.002705, allocations: 169.7 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.667/1.667, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.2191/0.2191, allocations: 32.37 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] 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.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 407.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.473e-05, allocations: 2.281 kB / 407.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.02056/0.02059, allocations: 14.44 MB / 421.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.03455, allocations: 4.871 MB / 426.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004565/0.03912, allocations: 131.4 kB / 426.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.05142, allocations: 5.178 MB / 432 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009924/0.06135, allocations: 2.838 MB / 434.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004538/0.06588, allocations: 1.216 MB / 436.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01582/0.08171, allocations: 7.492 MB / 443.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01157/0.09328, allocations: 5.145 MB / 448.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/0.105, allocations: 3.855 MB / 452.6 MB, free: 5.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008472/0.1135, allocations: 3.667 MB / 456.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002559/0.116, allocations: 0.5508 MB / 456.8 MB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/0.1226, allocations: 1.404 MB / 458.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005976/0.1286, allocations: 3.413 MB / 461.6 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005889/0.1345, allocations: 2.115 MB / 463.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2705/0.405, allocations: 11.25 MB / 475 MB, free: 34.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.698e-05/0.405, allocations: 0 / 475 MB, free: 34.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.405, allocations: 0 / 475 MB, free: 34.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007761/0.4058, allocations: 1.375 kB / 475 MB, free: 34.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.0279/0.4337, allocations: 7.945 MB / 482.9 MB, free: 31.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4338, allocations: 10.16 kB / 482.9 MB, free: 31.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.4493, allocations: 2.968 MB / 485.9 MB, free: 31.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.4607, allocations: 4.444 MB / 490.3 MB, free: 30.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.4611, allocations: 376.9 kB / 490.7 MB, free: 30.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/0.4629, allocations: 0.4915 MB / 491.2 MB, free: 30.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03149/0.4944, allocations: 15.72 MB / 0.495 GB, free: 24.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/0.4947, allocations: 74.92 kB / 0.4951 GB, free: 24.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009001/0.4956, allocations: 238 kB / 0.4953 GB, free: 24.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004764/0.5003, allocations: 3.003 MB / 0.4983 GB, free: 24.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02419/0.5245, allocations: 13.32 MB / 0.5113 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0824/0.6069, allocations: 57.35 MB / 0.5673 GB, free: 3.734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0216/0.6285, allocations: 7.056 MB / 0.5742 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006429/0.635, allocations: 3.805 MB / 0.5779 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/0.6567, allocations: 8.796 MB / 0.5865 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.799e-05/0.6568, allocations: 67.36 kB / 0.5865 GB, free: 0 / 462.1 MB Notification: Performance of pre-optimization done (n=273): time 6.182e-06/0.6568, allocations: 0 / 0.5865 GB, free: 0 / 462.1 MB Notification: Performance of matching and sorting (n=315): time 0.1065/0.7633, allocations: 35.18 MB / 0.6209 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002134/0.7636, allocations: 246.9 kB / 0.6211 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/0.7752, allocations: 6.015 MB / 0.627 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001276/0.7765, allocations: 73.7 kB / 0.6271 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0047/0.7812, allocations: 4.801 MB / 0.6318 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002522/0.7837, allocations: 1.227 MB / 0.633 GB, free: 496 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003716/0.7875, allocations: 1.865 MB / 0.6348 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7876, allocations: 309.1 kB / 0.6351 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006945/0.7946, allocations: 3.887 MB / 0.6389 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01343/0.808, allocations: 9.107 MB / 0.6478 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2454/1.053, allocations: 13.89 MB / 0.6613 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002716/1.054, allocations: 52.48 kB / 0.6614 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03576/1.089, allocations: 14.68 MB / 0.6757 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.09, allocations: 84.81 kB / 0.6758 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/1.09, allocations: 185.3 kB / 0.676 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00588/1.096, allocations: 2.266 MB / 0.6782 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007852/1.104, allocations: 2.165 MB / 0.6803 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/1.12, allocations: 13.94 MB / 0.6939 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008723/1.128, allocations: 0.6093 MB / 0.6945 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/1.13, allocations: 0.5343 MB / 0.695 GB, free: 174 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1120): * Single equations (assignments): 1113 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005808/1.136, allocations: 3.146 MB / 0.6981 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.137, allocations: 0.5087 MB / 0.6986 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.15, allocations: 7.616 MB / 0.706 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/1.15, allocations: 34.73 kB / 0.7061 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-05/1.15, allocations: 8 kB / 0.7061 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/1.15, allocations: 27.81 kB / 0.7061 GB, free: 163.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02714/1.177, allocations: 14.38 MB / 0.7202 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/1.177, allocations: 4 kB / 0.7202 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/1.18, allocations: 0.5582 MB / 0.7207 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005176/1.185, allocations: 2.026 MB / 0.7227 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007328/1.186, allocations: 59.98 kB / 0.7227 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/1.2, allocations: 13.3 MB / 0.7357 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.2, allocations: 15.75 kB / 0.7357 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.217, allocations: 12.18 MB / 0.7476 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002919/1.219, allocations: 1.058 MB / 0.7487 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/1.221, allocations: 66.95 kB / 0.7487 GB, free: 120 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/1.224, allocations: 295.5 kB / 0.749 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006398/1.225, allocations: 205.7 kB / 0.7492 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.225, allocations: 84 kB / 0.7493 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004695/1.23, allocations: 3.561 MB / 0.7528 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.23, allocations: 0 / 0.7528 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008365/1.238, allocations: 1.879 MB / 0.7546 GB, free: 114.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008049/1.239, allocations: 221 kB / 0.7548 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01214/1.251, allocations: 8.979 MB / 0.7636 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/1.251, allocations: 0 / 0.7636 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005666/1.257, allocations: 3.489 MB / 0.767 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/1.262, allocations: 0.6131 MB / 0.7676 GB, free: 100.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/1.287, allocations: 15.84 MB / 0.7831 GB, free: 84.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005282/1.293, allocations: 4.31 MB / 0.7873 GB, free: 80.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006584/1.299, allocations: 2.837 MB / 0.79 GB, free: 77.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001645/1.301, allocations: 372.4 kB / 0.7904 GB, free: 77.32 MB / 0.5294 GB Notification: Performance of SimCode: time 1.663e-06/1.301, allocations: 0 / 0.7904 GB, free: 77.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.0989/1.4, allocations: 60.18 MB / 0.8492 GB, free: 17.16 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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: 9.193628307431936]