Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.2 MB / 224.8 MB, free: 0.7695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 15.92 kB / 282.7 MB, free: 9.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 48.71 MB / 331.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.5066, allocations: 75.91 MB / 407.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5069, allocations: 69.28 kB / 407.3 MB, free: 8.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03748/0.5444, allocations: 8.394 MB / 415.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5445, allocations: 0 / 415.7 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.229e-05/0.5445, allocations: 12 kB / 415.8 MB, free: 0.543 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001524/0.5461, allocations: 0.6718 MB / 416.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5461, allocations: 12.03 kB / 416.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.5463, allocations: 86.52 kB / 416.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.5464, allocations: 59.3 kB / 416.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.5469, allocations: 289.3 kB / 416.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.5469, allocations: 37 kB / 416.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.5471, allocations: 55.91 kB / 417 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.5482, allocations: 430.6 kB / 417.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.5482, allocations: 7.906 kB / 417.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.5483, allocations: 23.98 kB / 417.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.5483, allocations: 12 kB / 417.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008016/0.5491, allocations: 316.4 kB / 417.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002669/0.5518, allocations: 1.173 MB / 418.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.553, allocations: 481.1 kB / 419.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.553, allocations: 4.438 kB / 419.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.5531, allocations: 43.03 kB / 419.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=62): time 3.557e-06/0.5531, allocations: 0 / 419.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.004521/0.5576, allocations: 2.131 MB / 421.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5577, allocations: 85.67 kB / 421.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.558, allocations: 218.1 kB / 421.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.5581, allocations: 37.7 kB / 421.9 MB, free: 10 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.5583, allocations: 263.4 kB / 422.1 MB, free: 9.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.5586, allocations: 268.1 kB / 422.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.5586, allocations: 16 kB / 422.4 MB, free: 9.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5588, allocations: 342.8 kB / 422.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.5592, allocations: 157.9 kB / 422.9 MB, free: 8.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.5598, allocations: 264.8 kB / 423.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.5603, allocations: 199.9 kB / 423.4 MB, free: 8.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5603, allocations: 3.938 kB / 423.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001274/0.5616, allocations: 0.5488 MB / 423.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.5617, allocations: 8 kB / 423.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5617, allocations: 0 / 423.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.5617, allocations: 8 kB / 423.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.5629, allocations: 183.7 kB / 424.1 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.5629, allocations: 11.95 kB / 424.1 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.5634, allocations: 20.25 kB / 424.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.5635, allocations: 31.98 kB / 424.2 MB, free: 7.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (97): * Single equations (assignments): 97 * Array equations: 0 * 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.0003617/0.5638, allocations: 181.6 kB / 424.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.564, allocations: 51.38 kB / 424.4 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.5642, allocations: 55.64 kB / 424.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.5642, allocations: 8 kB / 424.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5642, allocations: 0 / 424.5 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.5642, allocations: 7.938 kB / 424.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.5673, allocations: 1.442 MB / 425.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.5673, allocations: 8.062 kB / 425.9 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.5686, allocations: 159.8 kB / 426.1 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/0.5687, allocations: 8 kB / 426.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.5688, allocations: 19.94 kB / 426.1 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.5688, allocations: 4 kB / 426.1 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.5688, allocations: 7.953 kB / 426.1 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.5706, allocations: 1.042 MB / 427.2 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.5709, allocations: 116.5 kB / 427.3 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.376e-05/0.571, allocations: 20 kB / 427.3 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.5716, allocations: 16 kB / 427.3 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5717, allocations: 64.2 kB / 427.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.5718, allocations: 20 kB / 427.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002736/0.5721, allocations: 178 kB / 427.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5721, allocations: 0 / 427.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000797/0.5729, allocations: 144 kB / 427.7 MB, free: 3.867 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * 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.002382/0.5753, allocations: 2.439 MB / 430.1 MB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.5765, allocations: 452 kB / 430.6 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5765, allocations: 4.125 kB / 430.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.5771, allocations: 230.2 kB / 430.8 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5782, allocations: 102.3 kB / 430.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.5865, allocations: 5.154 MB / 436.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.5871, allocations: 0.8566 MB / 436.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004106/0.5875, allocations: 167.4 kB / 437.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5875, allocations: 4 kB / 437.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.465/4.053, allocations: 7.747 MB / 444.8 MB, free: 2.461 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat