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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107.6 kB / 16.41 MB, free: 6.496 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.001312/0.001312, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.407/1.407, 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.2219/0.2219, allocations: 43.53 MB / 314.1 MB, free: 464 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.002151/0.002151, allocations: 79.89 kB / 441.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1135, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.017/0.1305, allocations: 14.23 MB / 0.5013 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.141, allocations: 4.677 MB / 0.5059 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.1436, allocations: 91.75 kB / 0.506 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008026/0.1516, allocations: 3.773 MB / 0.5097 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007662/0.1594, allocations: 2.424 MB / 0.512 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.1623, allocations: 0.9943 MB / 0.513 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.1724, allocations: 6.026 MB / 0.5189 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006831/0.1792, allocations: 4.738 MB / 0.5235 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.183, allocations: 2.122 MB / 0.5256 GB, free: 5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00477/0.1878, allocations: 2.882 MB / 0.5284 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.1893, allocations: 456 kB / 0.5288 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.1931, allocations: 1.479 MB / 0.5303 GB, free: 188 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2719/0.465, allocations: 2.684 MB / 0.5329 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00464/0.4697, allocations: 3.095 MB / 0.5359 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.4824, allocations: 9.841 MB / 0.5455 GB, free: 9.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.86e-06/0.4825, allocations: 0.5 kB / 0.5455 GB, free: 9.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4825, allocations: 0.5 kB / 0.5455 GB, free: 9.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003431/0.4828, allocations: 0 / 0.5455 GB, free: 9.668 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.01988/0.5027, allocations: 6.927 MB / 0.5523 GB, free: 6.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5028, allocations: 13.77 kB / 0.5523 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002951/0.5057, allocations: 0.9252 MB / 0.5532 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04137/0.5471, allocations: 6.187 MB / 0.5593 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.5578, allocations: 4.858 MB / 0.564 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.558, allocations: 307.4 kB / 0.5643 GB, free: 3.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.5595, allocations: 414.7 kB / 0.5647 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02495/0.5844, allocations: 12.88 MB / 0.5773 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/0.5847, allocations: 63.03 kB / 0.5773 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009884/0.5857, allocations: 193.6 kB / 0.5775 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004535/0.5902, allocations: 2.509 MB / 0.58 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.6152, allocations: 10.57 MB / 0.5903 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07373/0.689, allocations: 49.54 MB / 0.6387 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.7014, allocations: 4.427 MB / 0.643 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/0.7053, allocations: 2.326 MB / 0.6453 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/0.7189, allocations: 6.526 MB / 0.6516 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.998e-05/0.719, allocations: 55.66 kB / 0.6517 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.36e-06/0.719, allocations: 0 / 0.6517 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05311/0.7721, allocations: 18.02 MB / 0.6693 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.7723, allocations: 230.8 kB / 0.6695 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/0.7833, allocations: 5.95 MB / 0.6753 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004728/0.7838, allocations: 53.45 kB / 0.6754 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004411/0.7882, allocations: 4.269 MB / 0.6795 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/0.7896, allocations: 0.8033 MB / 0.6803 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002656/0.7922, allocations: 1.468 MB / 0.6818 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7924, allocations: 301.1 kB / 0.682 GB, free: 200 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004316/0.7967, allocations: 2.427 MB / 0.6844 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008623/0.8054, allocations: 6.916 MB / 0.6912 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/0.8193, allocations: 10.12 MB / 0.7011 GB, free: 8.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/0.8195, allocations: 48 kB / 0.7011 GB, free: 8.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.02058/0.8401, allocations: 9.623 MB / 0.7105 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.8402, allocations: 72 kB / 0.7106 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/0.8405, allocations: 160 kB / 0.7107 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.8425, allocations: 0.7317 MB / 0.7114 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00621/0.8488, allocations: 1.669 MB / 0.7131 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009926/0.8587, allocations: 6.976 MB / 0.7199 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007164/0.8659, allocations: 391.7 kB / 0.7202 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/0.868, allocations: 455.9 kB / 0.7207 GB, free: 4.805 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 (880): * Single equations (assignments): 873 * 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.875, allocations: 2.696 MB / 0.7233 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/0.8765, allocations: 0.5083 MB / 0.7238 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00792/0.8844, allocations: 3.293 MB / 0.727 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.516e-05/0.8845, allocations: 24 kB / 0.7271 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/0.8845, allocations: 7.844 kB / 0.7271 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.8846, allocations: 7.969 kB / 0.7271 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/0.9061, allocations: 8.83 MB / 0.7357 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.9062, allocations: 0 / 0.7357 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.908, allocations: 327.5 kB / 0.736 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.9097, allocations: 0.4974 MB / 0.7365 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.91, allocations: 39.94 kB / 0.7365 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008353/0.9183, allocations: 6.294 MB / 0.7427 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.9184, allocations: 7.938 kB / 0.7427 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/0.9293, allocations: 6.003 MB / 0.7485 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/0.932, allocations: 0.8333 MB / 0.7494 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/0.9335, allocations: 32 kB / 0.7494 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/0.9364, allocations: 99.88 kB / 0.7495 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.9369, allocations: 112.9 kB / 0.7496 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/0.9371, allocations: 55.59 kB / 0.7496 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008921/0.9461, allocations: 3.808 MB / 0.7534 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.62e-07/0.9461, allocations: 0 / 0.7534 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008721/0.9548, allocations: 1.238 MB / 0.7546 GB, free: 1.691 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.2302/1.185, allocations: 6.64 MB / 0.7611 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.195, allocations: 5.94 MB / 0.7669 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.195, allocations: 1.094 kB / 0.7669 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/1.198, allocations: 1.787 MB / 0.7686 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.202, allocations: 0.659 MB / 0.7692 GB, free: 202.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08453/1.287, allocations: 59.66 MB / 0.8275 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006144/1.293, allocations: 4.121 MB / 0.8315 GB, free: 149 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005649/1.299, allocations: 2.323 MB / 0.8338 GB, free: 146.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003984/1.303, allocations: 2.569 MB / 0.8363 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/1.303, allocations: 0 / 0.8363 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.438, allocations: 90.84 MB / 0.925 GB, free: 53.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.8/24.24, allocations: 11.94 kB / 0.925 GB, free: 53.18 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/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