Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FixedRotation",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.01111/0.01111, allocations: 112 kB / 15.06 MB, free: 5.984 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.001213/0.001213, allocations: 176 kB / 15.95 MB, free: 5.914 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 1.951/1.951, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.2692/0.2692, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006962/0.0006964, allocations: 16 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1504, allocations: 54.87 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.05446/0.2049, allocations: 34.14 MB / 450.2 MB, free: 344 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3898/0.5948, allocations: 7.593 MB / 457.8 MB, free: 30.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009287/0.6041, allocations: 173.1 kB / 457.9 MB, free: 30.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00772/0.6119, allocations: 1.852 MB / 459.8 MB, free: 30.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02413/0.6361, allocations: 5.141 MB / 464.9 MB, free: 29.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.6392, allocations: 281.6 kB / 465.2 MB, free: 29.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03743/0.6767, allocations: 10.75 MB / 475.9 MB, free: 28.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.6869, allocations: 3.868 MB / 479.8 MB, free: 28.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005227/0.6922, allocations: 1.555 MB / 481.4 MB, free: 28.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006533/0.6988, allocations: 1.928 MB / 483.3 MB, free: 27.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002638/0.7015, allocations: 234 kB / 483.5 MB, free: 27.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.7061, allocations: 0.5634 MB / 484.1 MB, free: 27.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007056/0.7133, allocations: 2.376 MB / 486.5 MB, free: 27.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005672/0.719, allocations: 1.325 MB / 487.8 MB, free: 27.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02235/0.7414, allocations: 8.136 MB / 495.9 MB, free: 24.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.7415, allocations: 1.781 kB / 495.9 MB, free: 24.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.131e-06/0.7415, allocations: 1.125 kB / 495.9 MB, free: 24.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005228/0.7421, allocations: 1.969 kB / 495.9 MB, free: 24.61 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02985/0.7719, allocations: 5.931 MB / 0.4901 GB, free: 20.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/0.772, allocations: 10.88 kB / 0.4901 GB, free: 20.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005232/0.7773, allocations: 1.269 MB / 0.4913 GB, free: 20.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04239/0.8197, allocations: 7.127 MB / 0.4983 GB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.8322, allocations: 3.208 MB / 0.5014 GB, free: 16.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004625/0.8327, allocations: 327.8 kB / 0.5018 GB, free: 16.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003657/0.8364, allocations: 411.5 kB / 0.5021 GB, free: 16.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05071/0.8871, allocations: 18.96 MB / 0.5207 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.8874, allocations: 31.69 kB / 0.5207 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003403/0.8908, allocations: 206.7 kB / 0.5209 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01446/0.9053, allocations: 4.752 MB / 0.5255 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05846/0.9638, allocations: 17.6 MB / 0.5427 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1679/1.132, allocations: 61.26 MB / 0.6025 GB, free: 9.289 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02648/1.158, allocations: 8.421 MB / 0.6108 GB, free: 436 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0399/1.198, allocations: 11.94 MB / 0.6224 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/1.198, allocations: 56.77 kB / 0.6225 GB, free: 3.965 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 9.238e-06/1.198, allocations: 0 / 0.6225 GB, free: 3.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.3538/1.552, allocations: 8.544 MB / 0.6308 GB, free: 147.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/1.552, allocations: 105 kB / 0.6309 GB, free: 147.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0146/1.567, allocations: 5.617 MB / 0.6364 GB, free: 147.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006838/1.568, allocations: 62.8 kB / 0.6365 GB, free: 147.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004714/1.572, allocations: 5.063 MB / 0.6414 GB, free: 144.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002128/1.575, allocations: 1.196 MB / 0.6426 GB, free: 143.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/1.576, allocations: 176.2 kB / 0.6427 GB, free: 143.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001037/1.577, allocations: 0.7256 MB / 0.6435 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008744/1.586, allocations: 3.173 MB / 0.6466 GB, free: 141.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/1.599, allocations: 8.556 MB / 0.6549 GB, free: 133.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/1.612, allocations: 5.27 MB / 0.6601 GB, free: 131.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002711/1.612, allocations: 54.06 kB / 0.6601 GB, free: 131.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03285/1.645, allocations: 11.55 MB / 0.6714 GB, free: 127.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.645, allocations: 88.84 kB / 0.6715 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000341/1.646, allocations: 189.8 kB / 0.6716 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/1.646, allocations: 284.7 kB / 0.6719 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01295/1.659, allocations: 2.064 MB / 0.6739 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004405/1.66, allocations: 375.2 kB / 0.6743 GB, free: 127 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/1.67, allocations: 1.319 MB / 0.6756 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002354/1.673, allocations: 0.5501 MB / 0.6761 GB, free: 126.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1137): * Single equations (assignments): 1119 * Array equations: 18 * 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.01063/1.683, allocations: 3.704 MB / 0.6797 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.684, allocations: 481.5 kB / 0.6802 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.687, allocations: 0.64 MB / 0.6808 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001477/1.687, allocations: 58.95 kB / 0.6809 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.581e-05/1.687, allocations: 6.172 kB / 0.6809 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/1.687, allocations: 9.984 kB / 0.6809 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04088/1.728, allocations: 12.61 MB / 0.6932 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-05/1.728, allocations: 12 kB / 0.6932 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004028/1.732, allocations: 424.8 kB / 0.6936 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.853e-05/1.732, allocations: 24 kB / 0.6936 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000754/1.733, allocations: 58.48 kB / 0.6937 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.014e-05/1.733, allocations: 31.03 kB / 0.6937 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-05/1.733, allocations: 25.66 kB / 0.6938 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/1.748, allocations: 6.571 MB / 0.7002 GB, free: 110.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/1.751, allocations: 0.5808 MB / 0.7007 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002603/1.753, allocations: 56.45 kB / 0.7008 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00537/1.759, allocations: 130 kB / 0.7009 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/1.76, allocations: 175.6 kB / 0.7011 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008161/1.761, allocations: 104 kB / 0.7012 GB, free: 109.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01274/1.774, allocations: 3.439 MB / 0.7045 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.774, allocations: 4 kB / 0.7045 GB, free: 106.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01588/1.79, allocations: 1.986 MB / 0.7065 GB, free: 104.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01583/1.806, allocations: 10.11 MB / 0.7164 GB, free: 94.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01913/1.825, allocations: 7.227 MB / 0.7234 GB, free: 88.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/1.825, allocations: 4 kB / 0.7234 GB, free: 88.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004659/1.83, allocations: 2.001 MB / 0.7254 GB, free: 86.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/1.834, allocations: 0.5687 MB / 0.7259 GB, free: 85.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4098/2.244, allocations: 162.7 MB / 0.8848 GB, free: 63.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01465/2.259, allocations: 5.563 MB / 0.8903 GB, free: 62.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01632/2.275, allocations: 3.54 MB / 0.8937 GB, free: 62.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008491/2.284, allocations: 3.317 MB / 0.897 GB, free: 62.02 MB / 490.7 MB Notification: Performance of SimCode: time 3.587e-06/2.284, allocations: 4 kB / 0.897 GB, free: 62.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.635/2.919, allocations: 109.9 MB / 1.004 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/2.919, allocations: 180.7 kB / 1.004 GB, free: 123 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.471/9.39, allocations: 0 / 1.004 GB, free: 123 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat