Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.001437/0.001437, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001583/0.001583, allocations: 165 kB / 23.79 MB, free: 0.7812 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 0.999/0.999, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1362/0.1362, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.512e-05, allocations: 4.281 kB / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01153/0.01156, allocations: 16.51 MB / 364.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.02239, allocations: 5.038 MB / 369.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.02498, allocations: 131.4 kB / 369.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005732/0.03071, allocations: 5.459 MB / 374.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006616/0.03732, allocations: 2.9 MB / 377.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.03939, allocations: 1.189 MB / 378.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008489/0.04788, allocations: 7.55 MB / 386.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006223/0.0541, allocations: 5.357 MB / 391.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00546/0.05956, allocations: 4.596 MB / 396.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.06418, allocations: 3.729 MB / 400.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.06542, allocations: 0.5547 MB / 400.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.06752, allocations: 1.404 MB / 402.1 MB, free: 2.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002632/0.07016, allocations: 3.499 MB / 405.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.07224, allocations: 2.15 MB / 407.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007696/0.07993, allocations: 7.301 MB / 415.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.07994, allocations: 0 / 415.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.07994, allocations: 0 / 415.1 MB, free: 5.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.08011, allocations: 0 / 415.1 MB, free: 5.758 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.009012/0.08912, allocations: 8.648 MB / 423.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.08915, allocations: 12.03 kB / 423.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006981/0.09614, allocations: 3.499 MB / 427.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004069/0.1002, allocations: 3.885 MB / 431.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.1004, allocations: 386.2 kB / 431.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005073/0.1009, allocations: 0.5117 MB / 432 MB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2137/0.3146, allocations: 9.424 MB / 441.4 MB, free: 76.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/0.3148, allocations: 65.62 kB / 441.5 MB, free: 76.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007207/0.3156, allocations: 243.4 kB / 441.7 MB, free: 76.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/0.3182, allocations: 2.833 MB / 444.6 MB, free: 76.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.3311, allocations: 4.846 MB / 449.4 MB, free: 76.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04192/0.373, allocations: 66.31 MB / 0.5036 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006011/0.3791, allocations: 2.827 MB / 0.5064 GB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.3803, allocations: 0.8484 MB / 0.5072 GB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007035/0.3873, allocations: 5.749 MB / 0.5129 GB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3874, allocations: 59.03 kB / 0.5129 GB, free: 3.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=209): time 4.248e-06/0.3874, allocations: 4 kB / 0.5129 GB, free: 3.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.02915/0.4165, allocations: 16.47 MB / 0.529 GB, free: 3.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.4166, allocations: 227.3 kB / 0.5292 GB, free: 2.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006932/0.4236, allocations: 5.605 MB / 0.5347 GB, free: 13.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005549/0.4241, allocations: 53.7 kB / 0.5347 GB, free: 13.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003049/0.4272, allocations: 5.398 MB / 0.54 GB, free: 8.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0012/0.4284, allocations: 0.9521 MB / 0.5409 GB, free: 7.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/0.4302, allocations: 1.985 MB / 0.5429 GB, free: 5.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4303, allocations: 480.7 kB / 0.5433 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.432, allocations: 0.9899 MB / 0.5443 GB, free: 3.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005697/0.4377, allocations: 9.444 MB / 0.5535 GB, free: 6.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009205/0.4469, allocations: 11.43 MB / 0.5647 GB, free: 7.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/0.447, allocations: 60 kB / 0.5647 GB, free: 7.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01504/0.4621, allocations: 8.374 MB / 0.5729 GB, free: 14.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4622, allocations: 95.59 kB / 0.573 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/0.4624, allocations: 200 kB / 0.5732 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.4642, allocations: 0.8308 MB / 0.574 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/0.4688, allocations: 2.117 MB / 0.5761 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.4739, allocations: 5.633 MB / 0.5816 GB, free: 5.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/0.4789, allocations: 0.5657 MB / 0.5821 GB, free: 5.082 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.4801, allocations: 0.5406 MB / 0.5827 GB, free: 4.543 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 914 * 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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1141): * Single equations (assignments): 1134 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002537/0.4826, allocations: 0.9245 MB / 0.5836 GB, free: 3.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/0.4839, allocations: 0.5669 MB / 0.5841 GB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.4872, allocations: 2.113 MB / 0.5862 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.4872, allocations: 24 kB / 0.5862 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.4872, allocations: 4 kB / 0.5862 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.4872, allocations: 19.88 kB / 0.5862 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1858/0.673, allocations: 7.981 MB / 0.594 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.913e-05/0.673, allocations: 6.312 kB / 0.594 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.6744, allocations: 341.9 kB / 0.5944 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.676, allocations: 0.5416 MB / 0.5949 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.6762, allocations: 45.7 kB / 0.5949 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/0.6807, allocations: 5.209 MB / 0.6 GB, free: 129.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.6807, allocations: 14.75 kB / 0.6 GB, free: 129.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005901/0.6866, allocations: 3.621 MB / 0.6036 GB, free: 128.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/0.6886, allocations: 0.7522 MB / 0.6043 GB, free: 128.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006548/0.6892, allocations: 48.19 kB / 0.6043 GB, free: 128.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.6904, allocations: 159.2 kB / 0.6045 GB, free: 128.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.6907, allocations: 156.3 kB / 0.6047 GB, free: 128.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6908, allocations: 64.78 kB / 0.6047 GB, free: 128.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003197/0.694, allocations: 2.404 MB / 0.6071 GB, free: 127.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.694, allocations: 0 / 0.6071 GB, free: 127.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005833/0.6998, allocations: 1.636 MB / 0.6087 GB, free: 127.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (184): * Single equations (assignments): 179 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005593/0.7004, allocations: 205.9 kB / 0.6089 GB, free: 127.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007217/0.7076, allocations: 4.605 MB / 0.6134 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.7076, allocations: 7.438 kB / 0.6134 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.7093, allocations: 1.2 MB / 0.6145 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.7127, allocations: 0.6253 MB / 0.6151 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/0.7307, allocations: 12.03 MB / 0.6269 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.7322, allocations: 1.955 MB / 0.6288 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003362/0.7356, allocations: 2.285 MB / 0.631 GB, free: 113 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/0.7363, allocations: 341.2 kB / 0.6314 GB, free: 112.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.074e-06/0.7363, allocations: 0 / 0.6314 GB, free: 112.6 MB / 442.7 MB Notification: Performance of Templates: time 0.06765/0.804, allocations: 45.91 MB / 0.6762 GB, free: 66.92 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.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.048467797227204]