Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001482, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 108 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3271/0.3271, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1062, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.2807/0.387, allocations: 125.8 MB / 0.5984 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05092/0.4379, allocations: 23.55 MB / 0.6214 GB, free: 11.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02407/0.462, allocations: 0.53 MB / 0.6219 GB, free: 11.04 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.4732, allocations: 6.403 MB / 0.6282 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008537/0.4818, allocations: 3.141 MB / 0.6312 GB, free: 1.621 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.4856, allocations: 1.502 MB / 0.6327 GB, free: 120 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01651/0.5022, allocations: 14.26 MB / 0.6466 GB, free: 1.828 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.5138, allocations: 8.195 MB / 0.6546 GB, free: 9.586 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00595/0.5198, allocations: 3.048 MB / 0.6576 GB, free: 6.527 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007586/0.5274, allocations: 5.047 MB / 0.6625 GB, free: 1.465 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002484/0.5299, allocations: 0.5312 MB / 0.6631 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004471/0.5344, allocations: 1.603 MB / 0.6646 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00573/0.5402, allocations: 4.134 MB / 0.6687 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00853/0.5487, allocations: 4.587 MB / 0.6731 GB, free: 6.566 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.5651, allocations: 14.33 MB / 0.6871 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5651, allocations: 0 / 0.6871 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5652, allocations: 3.844 kB / 0.6871 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005858/0.5657, allocations: 0 / 0.6871 GB, free: 8.184 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.3414/0.9072, allocations: 10.07 MB / 0.697 GB, free: 155.9 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.9072, allocations: 10.38 kB / 0.697 GB, free: 155.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.9251, allocations: 3.733 MB / 0.7006 GB, free: 155.2 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.9382, allocations: 6.555 MB / 0.707 GB, free: 152.4 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.9386, allocations: 0.4906 MB / 0.7075 GB, free: 152.3 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/0.9407, allocations: 0.673 MB / 0.7082 GB, free: 152.1 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.97, allocations: 19.91 MB / 0.7276 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002097/0.9702, allocations: 90.58 kB / 0.7277 GB, free: 143.3 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006562/0.9709, allocations: 312.5 kB / 0.728 GB, free: 143.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00518/0.9761, allocations: 3.603 MB / 0.7315 GB, free: 142.4 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03002/1.006, allocations: 16.75 MB / 0.7479 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07599/1.082, allocations: 73.14 MB / 0.8193 GB, free: 60.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01789/1.1, allocations: 8.486 MB / 0.8276 GB, free: 51.96 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005596/1.106, allocations: 4.552 MB / 0.832 GB, free: 47.39 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/1.107, allocations: 0.6607 MB / 0.8327 GB, free: 46.62 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/1.107, allocations: 72.97 kB / 0.8327 GB, free: 46.54 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=311): time 6.362e-06/1.107, allocations: 3.938 kB / 0.8327 GB, free: 46.54 MB / 0.4949 GB Notification: Performance of matching and sorting (n=335): time 0.08443/1.191, allocations: 35.74 MB / 0.8677 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/1.191, allocations: 299.6 kB / 0.8679 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00952/1.201, allocations: 7.818 MB / 0.8756 GB, free: 2.406 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007764/1.202, allocations: 85.62 kB / 0.8757 GB, free: 2.316 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003931/1.205, allocations: 5.73 MB / 0.8812 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/1.207, allocations: 1.276 MB / 0.8825 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003823/1.211, allocations: 2.082 MB / 0.8845 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/1.211, allocations: 309.8 kB / 0.8848 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006232/1.218, allocations: 4.123 MB / 0.8888 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1845/1.402, allocations: 9.83 MB / 0.8984 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/1.417, allocations: 14.91 MB / 0.913 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003337/1.417, allocations: 57.56 kB / 0.9131 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0279/1.445, allocations: 15.82 MB / 0.9285 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/1.445, allocations: 96.94 kB / 0.9286 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.445, allocations: 204.7 kB / 0.9288 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/1.451, allocations: 2.322 MB / 0.9311 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007386/1.458, allocations: 2.357 MB / 0.9334 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/1.475, allocations: 15.61 MB / 0.9486 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008349/1.483, allocations: 0.5757 MB / 0.9492 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/1.485, allocations: 0.5815 MB / 0.9497 GB, free: 118.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.005975/1.491, allocations: 3.89 MB / 0.9535 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.492, allocations: 0.6712 MB / 0.9542 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/1.505, allocations: 7.987 MB / 0.962 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/1.505, allocations: 44.73 kB / 0.962 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-05/1.505, allocations: 7.531 kB / 0.962 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.859e-05/1.505, allocations: 22.98 kB / 0.9621 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.533, allocations: 17.38 MB / 0.979 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/1.533, allocations: 1.969 kB / 0.979 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/1.535, allocations: 0.5594 MB / 0.9796 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004831/1.54, allocations: 1.994 MB / 0.9815 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004379/1.541, allocations: 59.38 kB / 0.9816 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.553, allocations: 14.47 MB / 0.9957 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.553, allocations: 4.844 kB / 0.9957 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09819/1.652, allocations: 72.31 MB / 1.066 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003155/1.655, allocations: 1.273 MB / 1.068 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.656, allocations: 56 kB / 1.068 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/1.659, allocations: 227.7 kB / 1.068 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/1.659, allocations: 194.3 kB / 1.068 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.66, allocations: 95.81 kB / 1.068 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006496/1.666, allocations: 5 MB / 1.073 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/1.666, allocations: 0 / 1.073 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009866/1.676, allocations: 2.695 MB / 1.076 GB, free: 8.012 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (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.0005187/1.676, allocations: 203 kB / 1.076 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.195/1.871, allocations: 10.1 MB / 1.086 GB, free: 157.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.872, allocations: 4.438 kB / 1.086 GB, free: 157.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005303/1.877, allocations: 3.646 MB / 1.089 GB, free: 156.7 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/1.882, allocations: 0.9155 MB / 1.09 GB, free: 156.7 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/1.911, allocations: 25.8 MB / 1.115 GB, free: 145.2 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007816/1.919, allocations: 6.077 MB / 1.121 GB, free: 143.2 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.008118/1.927, allocations: 3.119 MB / 1.124 GB, free: 143 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/1.929, allocations: 465.1 kB / 1.125 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of SimCode: time 6.82e-07/1.929, allocations: 0 / 1.125 GB, free: 142.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.1292/2.058, allocations: 95.73 MB / 1.218 GB, free: 70.34 MB / 0.5262 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches