Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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.001517/0.001517, allocations: 88.22 kB / 20.21 MB, free: 4.344 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.001569/0.001569, allocations: 165.7 kB / 23.52 MB, free: 1.035 MB / 18.57 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.48/1.48, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 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.2323/0.2323, allocations: 32.38 MB / 270 MB, free: 14.77 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.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 347 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.668e-05, allocations: 2.312 kB / 347 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01263/0.01265, allocations: 12.43 MB / 359.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.02516, allocations: 4.478 MB / 363.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003942/0.0291, allocations: 107.5 kB / 364 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009024/0.03813, allocations: 3.925 MB / 367.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008351/0.04648, allocations: 2.574 MB / 370.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.04963, allocations: 1.127 MB / 371.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01119/0.06083, allocations: 6.72 MB / 378.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007967/0.06879, allocations: 4.35 MB / 382.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008755/0.07755, allocations: 3.247 MB / 385.9 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006828/0.08437, allocations: 3.176 MB / 389.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.08635, allocations: 480 kB / 389.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/0.09079, allocations: 1.447 MB / 391 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005154/0.09594, allocations: 2.902 MB / 393.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005044/0.101, allocations: 1.78 MB / 395.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.1195, allocations: 9.832 MB / 405.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1195, allocations: 3.938 kB / 405.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1195, allocations: 0 / 405.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004593/0.12, allocations: 0 / 405.5 MB, free: 14.95 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02125/0.1412, allocations: 6.726 MB / 412.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1413, allocations: 12.03 kB / 412.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.1568, allocations: 3.375 MB / 415.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.1681, allocations: 3.961 MB / 419.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.1685, allocations: 304.2 kB / 419.9 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.1704, allocations: 428 kB / 420.3 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03018/0.2006, allocations: 13.16 MB / 433.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.2008, allocations: 63.56 kB / 433.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007501/0.2016, allocations: 191.8 kB / 433.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005076/0.2067, allocations: 2.511 MB / 436.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.2326, allocations: 10.89 MB / 447.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2624/0.4949, allocations: 47.25 MB / 494.4 MB, free: 64.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.505, allocations: 4.074 MB / 498.5 MB, free: 60.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/0.5076, allocations: 2.288 MB / 0.489 GB, free: 58.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009834/0.5174, allocations: 6.162 MB / 0.495 GB, free: 52.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.5174, allocations: 55.66 kB / 0.4951 GB, free: 52.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 4.448e-06/0.5174, allocations: 2.469 kB / 0.4951 GB, free: 52.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=195): time 0.04715/0.5646, allocations: 20.64 MB / 0.5152 GB, free: 32.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/0.5647, allocations: 235.1 kB / 0.5155 GB, free: 31.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006132/0.5708, allocations: 5.316 MB / 0.5207 GB, free: 26.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004647/0.5713, allocations: 53.7 kB / 0.5207 GB, free: 26.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001849/0.5731, allocations: 4.188 MB / 0.5248 GB, free: 22.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008509/0.574, allocations: 0.805 MB / 0.5256 GB, free: 21.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001537/0.5755, allocations: 1.508 MB / 0.5271 GB, free: 20.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.5755, allocations: 301.1 kB / 0.5273 GB, free: 20.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.5786, allocations: 2.685 MB / 0.53 GB, free: 17.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004845/0.5835, allocations: 7.211 MB / 0.537 GB, free: 7.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.5953, allocations: 10.54 MB / 0.5473 GB, free: 11.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001984/0.5955, allocations: 48 kB / 0.5473 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=974) (initialization): time 0.025/0.6205, allocations: 10.95 MB / 0.558 GB, free: 176 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.6206, allocations: 72 kB / 0.5581 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002816/0.6209, allocations: 160 kB / 0.5583 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00448/0.6254, allocations: 1.298 MB / 0.5595 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007406/0.6328, allocations: 1.719 MB / 0.5612 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.6459, allocations: 8.25 MB / 0.5693 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/0.6532, allocations: 495.5 kB / 0.5697 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/0.655, allocations: 455.4 kB / 0.5702 GB, free: 3.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (912): * Single equations (assignments): 905 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007022/0.662, allocations: 2.68 MB / 0.5728 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/0.6638, allocations: 481.1 kB / 0.5732 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009795/0.6736, allocations: 4.06 MB / 0.5772 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/0.6736, allocations: 24 kB / 0.5772 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.353e-05/0.6737, allocations: 4 kB / 0.5772 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/0.6737, allocations: 7.969 kB / 0.5772 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/0.6949, allocations: 8.51 MB / 0.5856 GB, free: 3.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.6949, allocations: 4.281 kB / 0.5856 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/0.6968, allocations: 339.5 kB / 0.5859 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003794/0.7006, allocations: 1.057 MB / 0.5869 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003445/0.701, allocations: 39.94 kB / 0.587 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.7126, allocations: 7.6 MB / 0.5944 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.7126, allocations: 7.938 kB / 0.5944 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.7262, allocations: 7.026 MB / 0.6012 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/0.7287, allocations: 0.7469 MB / 0.602 GB, free: 2.656 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007588/0.7295, allocations: 32.11 kB / 0.602 GB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/0.7318, allocations: 203.5 kB / 0.6022 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/0.7322, allocations: 117 kB / 0.6023 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/0.7323, allocations: 55.98 kB / 0.6024 GB, free: 2.258 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.2119/0.9442, allocations: 3.149 MB / 0.6054 GB, free: 146.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9442, allocations: 3.844 kB / 0.6054 GB, free: 146.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008815/0.953, allocations: 1.441 MB / 0.6068 GB, free: 146.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007291/0.9538, allocations: 200 kB / 0.607 GB, free: 146.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01178/0.9655, allocations: 6.147 MB / 0.613 GB, free: 145.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.9655, allocations: 3.656 kB / 0.613 GB, free: 145.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.9681, allocations: 1.836 MB / 0.6148 GB, free: 144.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004226/0.9723, allocations: 0.5329 MB / 0.6154 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.9937, allocations: 12.35 MB / 0.6274 GB, free: 138.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004116/0.9978, allocations: 3.632 MB / 0.631 GB, free: 136.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004971/1.003, allocations: 2.219 MB / 0.6331 GB, free: 135.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.004, allocations: 289.5 kB / 0.6334 GB, free: 134.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.365e-06/1.004, allocations: 4 kB / 0.6334 GB, free: 134.9 MB / 442.7 MB Notification: Performance of Templates: time 0.06918/1.073, allocations: 40.84 MB / 0.6733 GB, free: 94.65 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.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: 7.591453071101569]