Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01636/0.01636, allocations: 106.8 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001886/0.001886, allocations: 181.3 kB / 15.95 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.238/2.238, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2707/0.2707, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.0005289, allocations: 12 kB / 361.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 54.89 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01906/0.1424, allocations: 11.83 MB / 427.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1548, allocations: 4.151 MB / 432 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.1574, allocations: 51.88 kB / 432.1 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.1597, allocations: 0.5366 MB / 432.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01705/0.1768, allocations: 1.855 MB / 434.4 MB, free: 88 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.1793, allocations: 447.1 kB / 434.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.1921, allocations: 1.47 MB / 436.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004001/0.1962, allocations: 1.393 MB / 437.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.1978, allocations: 0.615 MB / 438.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.2, allocations: 0.8488 MB / 439.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008992/0.209, allocations: 80 kB / 439.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006969/0.216, allocations: 0.8035 MB / 440.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.2182, allocations: 0.8844 MB / 441 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.2192, allocations: 0.4961 MB / 441.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00989/0.2291, allocations: 3.04 MB / 444.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2292, allocations: 0 / 444.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.2292, allocations: 0 / 444.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.2294, allocations: 0 / 444.5 MB, free: 5.961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.008893/0.2383, allocations: 2.586 MB / 447.1 MB, free: 3.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2384, allocations: 12.03 kB / 447.1 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/0.2398, allocations: 458.2 kB / 447.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/0.2526, allocations: 1.978 MB / 449.5 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3006/0.5532, allocations: 1.563 MB / 451.1 MB, free: 56.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.5534, allocations: 121.8 kB / 451.2 MB, free: 56.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007512/0.5542, allocations: 164.1 kB / 451.4 MB, free: 56.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/0.5684, allocations: 6.485 MB / 457.9 MB, free: 55.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.5686, allocations: 32.86 kB / 457.9 MB, free: 55.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.569, allocations: 87.62 kB / 458 MB, free: 55.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003391/0.5724, allocations: 1.376 MB / 459.4 MB, free: 54.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.588, allocations: 5.747 MB / 465.1 MB, free: 53.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04132/0.6293, allocations: 26.74 MB / 491.8 MB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007195/0.6366, allocations: 2.159 MB / 494 MB, free: 32.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.6369, allocations: 176.3 kB / 494.2 MB, free: 32.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.637, allocations: 46.8 kB / 494.2 MB, free: 32.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 4.398e-06/0.637, allocations: 1.219 kB / 494.2 MB, free: 32.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=112): time 0.03035/0.6673, allocations: 6.682 MB / 0.4892 GB, free: 29.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.6675, allocations: 143.4 kB / 0.4893 GB, free: 29.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/0.6746, allocations: 2.983 MB / 0.4922 GB, free: 28.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.675, allocations: 45.27 kB / 0.4922 GB, free: 28.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/0.6771, allocations: 2.101 MB / 0.4943 GB, free: 26.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008335/0.678, allocations: 450.8 kB / 0.4947 GB, free: 26.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/0.6785, allocations: 88.66 kB / 0.4948 GB, free: 26.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003556/0.6789, allocations: 0.4885 MB / 0.4953 GB, free: 25.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.6831, allocations: 1.396 MB / 0.4967 GB, free: 25.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/0.6894, allocations: 4.238 MB / 0.5008 GB, free: 20.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005975/0.6954, allocations: 2.381 MB / 0.5031 GB, free: 20.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-05/0.6956, allocations: 31.41 kB / 0.5031 GB, free: 20.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01418/0.7098, allocations: 5.428 MB / 0.5085 GB, free: 16.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.7099, allocations: 53.44 kB / 0.5085 GB, free: 16.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/0.7101, allocations: 104 kB / 0.5086 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.7102, allocations: 151.9 kB / 0.5087 GB, free: 16.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007711/0.718, allocations: 1.217 MB / 0.5099 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001968/0.7182, allocations: 195.6 kB / 0.5101 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.7228, allocations: 238.2 kB / 0.5103 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007711/0.7236, allocations: 278.7 kB / 0.5106 GB, free: 14.82 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (550): * Single equations (assignments): 547 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003222/0.7268, allocations: 1.387 MB / 0.512 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.7276, allocations: 236.9 kB / 0.5122 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00302/0.7306, allocations: 1.234 MB / 0.5134 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/0.7307, allocations: 12 kB / 0.5134 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.7307, allocations: 4 kB / 0.5134 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.7307, allocations: 7.984 kB / 0.5134 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.7415, allocations: 4.558 MB / 0.5179 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.7416, allocations: 4 kB / 0.5179 GB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/0.745, allocations: 363.9 kB / 0.5182 GB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-05/0.7451, allocations: 15.95 kB / 0.5182 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.7452, allocations: 25.69 kB / 0.5183 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.7453, allocations: 15.92 kB / 0.5183 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.7453, allocations: 4 kB / 0.5183 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/0.7494, allocations: 2.604 MB / 0.5208 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.751, allocations: 465.7 kB / 0.5213 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/0.7517, allocations: 27.98 kB / 0.5213 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/0.7537, allocations: 66.66 kB / 0.5214 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.754, allocations: 59.83 kB / 0.5214 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.7541, allocations: 39.98 kB / 0.5215 GB, free: 3.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003958/0.7581, allocations: 1.889 MB / 0.5233 GB, free: 1.621 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.7581, allocations: 7.938 kB / 0.5233 GB, free: 1.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005/0.7631, allocations: 0.6428 MB / 0.5239 GB, free: 0.9766 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006166/0.7694, allocations: 4.397 MB / 0.5282 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008631/0.778, allocations: 3.218 MB / 0.5314 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.7781, allocations: 0 / 0.5314 GB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.7801, allocations: 0.7853 MB / 0.5321 GB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.7832, allocations: 261.1 kB / 0.5324 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5099/1.293, allocations: 90.88 MB / 0.6211 GB, free: 142.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002902/1.296, allocations: 2.253 MB / 0.6233 GB, free: 141.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005813/1.302, allocations: 1.46 MB / 0.6248 GB, free: 141.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002884/1.305, allocations: 1.083 MB / 0.6258 GB, free: 141.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/1.305, allocations: 0 / 0.6258 GB, free: 141.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.425, allocations: 48.87 MB / 0.6735 GB, free: 119.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.425, allocations: 162.9 kB / 0.6737 GB, free: 119.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.294/5.719, allocations: 4 kB / 0.6737 GB, free: 119.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove_res.mat does not exist to compare? outputFormat=mat