Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.01795/0.01796, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.002397/0.002397, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.071/2.071, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.2965/0.2965, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 16 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 54.89 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3851/0.5212, allocations: 41.18 MB / 457.2 MB, free: 30.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02698/0.5482, allocations: 9.833 MB / 467 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009059/0.5574, allocations: 196.2 kB / 467.2 MB, free: 29.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007192/0.5646, allocations: 2.068 MB / 469.3 MB, free: 29.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02186/0.5865, allocations: 5.913 MB / 475.2 MB, free: 29.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.5901, allocations: 0.5073 MB / 475.7 MB, free: 29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005305/0.5955, allocations: 2.109 MB / 477.8 MB, free: 28.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008582/0.6041, allocations: 4.486 MB / 482.3 MB, free: 28.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.6069, allocations: 0.9917 MB / 483.3 MB, free: 28.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003283/0.6102, allocations: 1.358 MB / 484.7 MB, free: 28.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.6114, allocations: 142.8 kB / 484.8 MB, free: 28.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.6144, allocations: 0.81 MB / 485.6 MB, free: 28.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003315/0.6178, allocations: 1.537 MB / 487.2 MB, free: 27.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.6201, allocations: 0.8349 MB / 488 MB, free: 27.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.6312, allocations: 5.555 MB / 493.5 MB, free: 27.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6313, allocations: 0 / 493.5 MB, free: 27.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6313, allocations: 2.344 kB / 493.5 MB, free: 27.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002956/0.6316, allocations: 4 kB / 493.6 MB, free: 27.09 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02762/0.6592, allocations: 4.968 MB / 498.5 MB, free: 23.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.6593, allocations: 13.5 kB / 498.5 MB, free: 23.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003099/0.6624, allocations: 0.7247 MB / 499.3 MB, free: 23.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.677, allocations: 2.232 MB / 0.4897 GB, free: 22.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008118/0.6852, allocations: 2.502 MB / 0.4922 GB, free: 20.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.6855, allocations: 238.1 kB / 0.4924 GB, free: 20.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.6878, allocations: 320.2 kB / 0.4927 GB, free: 20.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03332/0.7211, allocations: 10.36 MB / 0.5028 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002858/0.7215, allocations: 41.81 kB / 0.5029 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002377/0.7239, allocations: 148.4 kB / 0.503 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005733/0.7297, allocations: 1.866 MB / 0.5048 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03037/0.7601, allocations: 8.983 MB / 0.5136 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08506/0.8452, allocations: 38.72 MB / 0.5514 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/0.8664, allocations: 3.699 MB / 0.555 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.8685, allocations: 0.6938 MB / 0.5557 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/0.8686, allocations: 51.5 kB / 0.5558 GB, free: 9.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 6.202e-06/0.8686, allocations: 0 / 0.5558 GB, free: 9.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.07701/0.9456, allocations: 13.84 MB / 0.5693 GB, free: 11.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.9458, allocations: 145.5 kB / 0.5694 GB, free: 11.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/0.9586, allocations: 4.167 MB / 0.5735 GB, free: 7.348 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005841/0.9592, allocations: 52.2 kB / 0.5735 GB, free: 7.293 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004028/0.9633, allocations: 3.109 MB / 0.5766 GB, free: 4.184 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.9647, allocations: 0.6223 MB / 0.5772 GB, free: 3.566 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000814/0.9655, allocations: 112 kB / 0.5773 GB, free: 3.457 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005282/0.9661, allocations: 0.5498 MB / 0.5778 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006464/0.9725, allocations: 1.987 MB / 0.5798 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.9829, allocations: 5.64 MB / 0.5853 GB, free: 9.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009285/0.9922, allocations: 3.279 MB / 0.5885 GB, free: 6.137 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/0.9924, allocations: 36 kB / 0.5885 GB, free: 6.102 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02861/1.021, allocations: 8.131 MB / 0.5964 GB, free: 13.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/1.021, allocations: 63.95 kB / 0.5965 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002642/1.022, allocations: 132 kB / 0.5966 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/1.027, allocations: 0.9298 MB / 0.5975 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009117/1.036, allocations: 1.345 MB / 0.5989 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/1.047, allocations: 4.974 MB / 0.6037 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006886/1.054, allocations: 327.6 kB / 0.604 GB, free: 6.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.056, allocations: 362.4 kB / 0.6044 GB, free: 5.719 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (715): * Single equations (assignments): 711 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00663/1.063, allocations: 2.074 MB / 0.6064 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.064, allocations: 339.6 kB / 0.6067 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/1.074, allocations: 2.96 MB / 0.6096 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.471e-05/1.074, allocations: 24 kB / 0.6096 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.074, allocations: 4 kB / 0.6096 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/1.075, allocations: 11.92 kB / 0.6096 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.101, allocations: 7.627 MB / 0.6171 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/1.101, allocations: 3.938 kB / 0.6171 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/1.104, allocations: 291.7 kB / 0.6174 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004376/1.109, allocations: 0.7186 MB / 0.6181 GB, free: 7.586 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006021/1.109, allocations: 26.5 kB / 0.6181 GB, free: 7.562 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/1.12, allocations: 4.532 MB / 0.6225 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.121, allocations: 8.391 kB / 0.6225 GB, free: 2.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3584/1.479, allocations: 5.526 MB / 0.6279 GB, free: 151.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/1.482, allocations: 0.6247 MB / 0.6285 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/1.483, allocations: 25.34 kB / 0.6286 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/1.486, allocations: 100.7 kB / 0.6287 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/1.486, allocations: 97.89 kB / 0.6288 GB, free: 151 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.487, allocations: 45.2 kB / 0.6288 GB, free: 151 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007352/1.494, allocations: 2.62 MB / 0.6314 GB, free: 150.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.494, allocations: 0 / 0.6314 GB, free: 150.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008086/1.502, allocations: 0.9642 MB / 0.6323 GB, free: 150.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01651/1.519, allocations: 6.525 MB / 0.6387 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01218/1.531, allocations: 4.789 MB / 0.6434 GB, free: 147.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.531, allocations: 0 / 0.6434 GB, free: 147.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003696/1.535, allocations: 1.456 MB / 0.6448 GB, free: 146.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.538, allocations: 393.7 kB / 0.6451 GB, free: 146.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1242/1.663, allocations: 123.5 MB / 0.7658 GB, free: 34.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008693/1.671, allocations: 3.32 MB / 0.769 GB, free: 33.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009373/1.681, allocations: 1.874 MB / 0.7708 GB, free: 33.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005025/1.686, allocations: 1.846 MB / 0.7726 GB, free: 31.56 MB / 490.7 MB Notification: Performance of SimCode: time 2.184e-06/1.686, allocations: 3.5 kB / 0.7726 GB, free: 31.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.512/2.198, allocations: 74.68 MB / 0.8456 GB, free: 144.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003746/2.199, allocations: 200.9 kB / 0.8458 GB, free: 144.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.3/7.499, allocations: 0 / 0.8458 GB, free: 144.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat