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.001016/0.001016, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001457/0.001457, allocations: 169.3 kB / 24.24 MB, free: 316 kB / 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.9071/0.9071, allocations: 158.6 MB / 186 MB, free: 2.926 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.1369/0.1369, allocations: 32.37 MB / 270.7 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 2.335e-06/2.335e-06, allocations: 0 / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.793e-05, allocations: 4.281 kB / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01172/0.01176, allocations: 13.71 MB / 361.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00851/0.02027, allocations: 4.587 MB / 366 MB, free: 7.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/0.02292, allocations: 107.5 kB / 366.1 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005156/0.02807, allocations: 4.041 MB / 370.2 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.03393, allocations: 2.578 MB / 372.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.03595, allocations: 1.127 MB / 373.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008475/0.04443, allocations: 6.705 MB / 380.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006133/0.05056, allocations: 4.373 MB / 384.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005886/0.05645, allocations: 3.27 MB / 388.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.06108, allocations: 3.242 MB / 391.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.06245, allocations: 468 kB / 391.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.06497, allocations: 1.451 MB / 393.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002615/0.06759, allocations: 2.918 MB / 396.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.07038, allocations: 1.772 MB / 398.1 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009407/0.07979, allocations: 6.317 MB / 404.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.0798, allocations: 0 / 404.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.0798, allocations: 0 / 404.4 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002908/0.08009, allocations: 0 / 404.4 MB, free: 0.8398 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01292/0.09301, allocations: 7.136 MB / 411.5 MB, free: 9.621 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.09307, allocations: 12.03 kB / 411.5 MB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008546/0.1016, allocations: 3.289 MB / 414.8 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/0.1078, allocations: 3.515 MB / 418.3 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.108, allocations: 316.1 kB / 418.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.1091, allocations: 412.1 kB / 419 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.1236, allocations: 7.93 MB / 427 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/0.1238, allocations: 55.53 kB / 427 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.1242, allocations: 195.8 kB / 427.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.1271, allocations: 2.507 MB / 429.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.1377, allocations: 4.3 MB / 434 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2033/0.341, allocations: 55.19 MB / 489.2 MB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006296/0.3473, allocations: 2.283 MB / 491.5 MB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.3486, allocations: 0.7724 MB / 492.3 MB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007483/0.3561, allocations: 4.845 MB / 497.1 MB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.3562, allocations: 61.92 kB / 497.2 MB, free: 33.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=183): time 7.805e-06/0.3562, allocations: 0 / 497.2 MB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=195): time 0.0337/0.3899, allocations: 14.78 MB / 0.5 GB, free: 28.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.3899, allocations: 229.1 kB / 0.5002 GB, free: 28.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005587/0.3955, allocations: 4.628 MB / 0.5047 GB, free: 25.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.3958, allocations: 49.7 kB / 0.5047 GB, free: 25.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/0.3979, allocations: 4.416 MB / 0.5091 GB, free: 21.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/0.3987, allocations: 0.8389 MB / 0.5099 GB, free: 20.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/0.4003, allocations: 1.639 MB / 0.5115 GB, free: 18.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.4003, allocations: 480.8 kB / 0.5119 GB, free: 18.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.402, allocations: 0.8539 MB / 0.5128 GB, free: 17.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/0.4056, allocations: 7.603 MB / 0.5202 GB, free: 6.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007385/0.413, allocations: 9.253 MB / 0.5292 GB, free: 11.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/0.4131, allocations: 51.94 kB / 0.5293 GB, free: 11.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01117/0.4243, allocations: 7.066 MB / 0.5362 GB, free: 4.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-05/0.4244, allocations: 75.94 kB / 0.5362 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.4246, allocations: 160 kB / 0.5364 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.4263, allocations: 0.8123 MB / 0.5372 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.4297, allocations: 1.723 MB / 0.5389 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005202/0.4349, allocations: 5.973 MB / 0.5447 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/0.4394, allocations: 477.9 kB / 0.5452 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008568/0.4403, allocations: 456 kB / 0.5456 GB, free: 10.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * 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 (918): * Single equations (assignments): 911 * 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.002449/0.4427, allocations: 0.765 MB / 0.5463 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.4438, allocations: 480.8 kB / 0.5468 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.4471, allocations: 2.042 MB / 0.5488 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/0.4472, allocations: 20 kB / 0.5488 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.4472, allocations: 9.641 kB / 0.5488 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.4472, allocations: 11.95 kB / 0.5488 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.4591, allocations: 6.597 MB / 0.5553 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.4591, allocations: 5.312 kB / 0.5553 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/0.46, allocations: 327.5 kB / 0.5556 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.4615, allocations: 0.5883 MB / 0.5562 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.4616, allocations: 35.94 kB / 0.5562 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.4663, allocations: 5.422 MB / 0.5615 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4663, allocations: 7.984 kB / 0.5615 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005191/0.4715, allocations: 3.295 MB / 0.5647 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.4728, allocations: 0.6921 MB / 0.5654 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.4731, allocations: 36 kB / 0.5654 GB, free: 6.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.4742, allocations: 179.7 kB / 0.5656 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.4744, allocations: 124.8 kB / 0.5657 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.751e-05/0.4745, allocations: 58.17 kB / 0.5658 GB, free: 5.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002598/0.4771, allocations: 2.02 MB / 0.5678 GB, free: 3.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4771, allocations: 7.391 kB / 0.5678 GB, free: 3.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005331/0.4824, allocations: 1.445 MB / 0.5692 GB, free: 2.391 MB / 426.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.0004627/0.4829, allocations: 187.1 kB / 0.5694 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006076/0.489, allocations: 3.918 MB / 0.5732 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.489, allocations: 4 kB / 0.5732 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.4903, allocations: 1.075 MB / 0.5742 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.4929, allocations: 0.5328 MB / 0.5748 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.5088, allocations: 9.899 MB / 0.5844 GB, free: 2.625 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/0.5106, allocations: 1.657 MB / 0.586 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003279/0.5139, allocations: 1.899 MB / 0.5879 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.5146, allocations: 292.4 kB / 0.5882 GB, free: 14.75 MB / 458.7 MB Notification: Performance of SimCode: time 2.164e-06/0.5146, allocations: 0 / 0.5882 GB, free: 14.75 MB / 458.7 MB Notification: Performance of Templates: time 0.2135/0.7281, allocations: 40.48 MB / 0.6277 GB, free: 156.5 MB / 474.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7272891739849]