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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 102.6 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2303/0.2303, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 69.47 kB / 441.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1387, allocations: 57.79 MB / 499.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01591/0.1547, allocations: 14.23 MB / 0.5018 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.167, allocations: 4.673 MB / 0.5064 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.1707, allocations: 87.75 kB / 0.5065 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007553/0.1784, allocations: 3.773 MB / 0.5102 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007666/0.1861, allocations: 2.494 MB / 0.5126 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.1892, allocations: 0.9982 MB / 0.5136 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009677/0.1989, allocations: 6.03 MB / 0.5194 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007298/0.2062, allocations: 4.734 MB / 0.5241 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/0.211, allocations: 2.118 MB / 0.5261 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005186/0.2163, allocations: 2.889 MB / 0.529 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.2183, allocations: 456 kB / 0.5294 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.352/0.5704, allocations: 1.474 MB / 0.5308 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00522/0.5756, allocations: 2.704 MB / 0.5335 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01341/0.5891, allocations: 3.025 MB / 0.5364 GB, free: 12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02089/0.61, allocations: 9.655 MB / 0.5459 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.6101, allocations: 1.875 kB / 0.5459 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.6101, allocations: 3.562 kB / 0.5459 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005587/0.6107, allocations: 4.656 kB / 0.5459 GB, free: 10.62 MB / 414.1 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.03002/0.6407, allocations: 6.54 MB / 0.5523 GB, free: 8.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.6408, allocations: 16.02 kB / 0.5523 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.6565, allocations: 2.662 MB / 0.5549 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.67, allocations: 4.072 MB / 0.5588 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005215/0.6706, allocations: 308.7 kB / 0.5591 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003539/0.6741, allocations: 409.9 kB / 0.5595 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03234/0.7065, allocations: 13.01 MB / 0.5722 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002846/0.7068, allocations: 69.83 kB / 0.5723 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/0.7082, allocations: 195 kB / 0.5725 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004001/0.7122, allocations: 2.497 MB / 0.5749 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02407/0.7363, allocations: 10.84 MB / 0.5855 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07101/0.8074, allocations: 49.94 MB / 0.6343 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.8199, allocations: 4.543 MB / 0.6387 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004114/0.824, allocations: 2.456 MB / 0.6411 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01498/0.839, allocations: 6.741 MB / 0.6477 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/0.8391, allocations: 51.31 kB / 0.6477 GB, free: 3.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.799e-06/0.8392, allocations: 4 kB / 0.6477 GB, free: 3.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05649/0.8957, allocations: 19.4 MB / 0.6667 GB, free: 168 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.8958, allocations: 231.2 kB / 0.6669 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/0.9066, allocations: 5.917 MB / 0.6727 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007484/0.9073, allocations: 56.83 kB / 0.6727 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00331/0.9107, allocations: 4.061 MB / 0.6767 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/0.912, allocations: 0.7794 MB / 0.6775 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002268/0.9143, allocations: 1.533 MB / 0.679 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9144, allocations: 301.1 kB / 0.6793 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/0.9186, allocations: 2.638 MB / 0.6818 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007979/0.9266, allocations: 7.164 MB / 0.6888 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/0.9405, allocations: 10.51 MB / 0.6991 GB, free: 11.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001518/0.9407, allocations: 52 kB / 0.6991 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.0217/0.9624, allocations: 10.56 MB / 0.7095 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.9626, allocations: 72 kB / 0.7095 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/0.9627, allocations: 160 kB / 0.7097 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003356/0.9661, allocations: 1.239 MB / 0.7109 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006531/0.9727, allocations: 1.723 MB / 0.7126 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.9843, allocations: 8.489 MB / 0.7209 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008884/0.9932, allocations: 419.2 kB / 0.7213 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002331/0.9956, allocations: 458.5 kB / 0.7217 GB, free: 3.961 MB / 0.5606 GB 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.008705/1.004, allocations: 2.692 MB / 0.7243 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/1.006, allocations: 485.7 kB / 0.7248 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009802/1.016, allocations: 4.034 MB / 0.7287 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/1.016, allocations: 24 kB / 0.7287 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.631e-05/1.016, allocations: 4 kB / 0.7288 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/1.016, allocations: 7.969 kB / 0.7288 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02719/1.043, allocations: 9.549 MB / 0.7381 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.98e-05/1.043, allocations: 7.938 kB / 0.7381 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.045, allocations: 323.8 kB / 0.7384 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.048, allocations: 1.007 MB / 0.7394 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004312/1.049, allocations: 39.2 kB / 0.7394 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.059, allocations: 7.813 MB / 0.7471 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.059, allocations: 4 kB / 0.7471 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.072, allocations: 6.889 MB / 0.7538 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.075, allocations: 0.8383 MB / 0.7546 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00194/1.077, allocations: 39.94 kB / 0.7546 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003212/1.08, allocations: 115.8 kB / 0.7548 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/1.081, allocations: 109 kB / 0.7549 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.081, allocations: 59.61 kB / 0.7549 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.3355/1.417, allocations: 3.782 MB / 0.7586 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.62e-07/1.417, allocations: 1.906 kB / 0.7586 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01007/1.427, allocations: 1.292 MB / 0.7599 GB, free: 204.7 MB / 0.5919 GB 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.0005732/1.427, allocations: 165.9 kB / 0.76 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.441, allocations: 6.336 MB / 0.7662 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.441, allocations: 1.344 kB / 0.7662 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003003/1.444, allocations: 1.91 MB / 0.7681 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/1.448, allocations: 0.6302 MB / 0.7687 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.472, allocations: 12.03 MB / 0.7804 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005484/1.477, allocations: 4.136 MB / 0.7845 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005173/1.482, allocations: 2.316 MB / 0.7867 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009462/1.483, allocations: 320.9 kB / 0.787 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.173e-06/1.483, allocations: 0 / 0.787 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.07915/1.562, allocations: 44.74 MB / 0.8307 GB, free: 156.6 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (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) 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) Reference file matches