Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003491, allocations: 8 kB / 264.1 MB, free: 2.527 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3117, allocations: 44.5 MB / 308.6 MB, free: 12.57 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.4731, allocations: 71.31 MB / 379.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004292/0.4736, allocations: 63.97 kB / 379.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.4892, allocations: 3.324 MB / 383.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.419e-06/0.4893, allocations: 4 kB / 383.3 MB, free: 1.746 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4893, allocations: 4 kB / 383.3 MB, free: 1.742 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008834/0.4902, allocations: 487.1 kB / 383.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.4903, allocations: 8.031 kB / 383.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.555e-05/0.4904, allocations: 62.47 kB / 383.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.4905, allocations: 23.72 kB / 383.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.4906, allocations: 198.6 kB / 384 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.4907, allocations: 12.56 kB / 384 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.4908, allocations: 24 kB / 384.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.4913, allocations: 228.3 kB / 384.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.4914, allocations: 11.98 kB / 384.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.4914, allocations: 4 kB / 384.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.4914, allocations: 8 kB / 384.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.4918, allocations: 131.9 kB / 384.4 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.4935, allocations: 0.8713 MB / 385.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.4939, allocations: 159.8 kB / 385.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.4939, allocations: 0 / 385.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.494, allocations: 42.5 kB / 385.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.494, allocations: 0 / 385.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005432/0.4945, allocations: 166.2 kB / 385.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.4946, allocations: 102.8 kB / 385.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.4949, allocations: 178.4 kB / 385.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4949, allocations: 33.7 kB / 386 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4951, allocations: 156 kB / 386.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.4951, allocations: 66.72 kB / 386.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.4952, allocations: 8 kB / 386.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4953, allocations: 330.8 kB / 386.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.4955, allocations: 44.55 kB / 386.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4957, allocations: 158.7 kB / 386.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.496, allocations: 76 kB / 386.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.496, allocations: 0 / 386.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000585/0.4966, allocations: 249 kB / 387 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4966, allocations: 8 kB / 387 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4966, allocations: 4 kB / 387.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4967, allocations: 4 kB / 387.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.4971, allocations: 55.92 kB / 387.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.4971, allocations: 12.36 kB / 387.1 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.4974, allocations: 36.44 kB / 387.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.4974, allocations: 16 kB / 387.2 MB, free: 13.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001978/0.4976, allocations: 141.7 kB / 387.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.4977, allocations: 19.95 kB / 387.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.142e-05/0.4978, allocations: 25.39 kB / 387.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4978, allocations: 7.984 kB / 387.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4979, allocations: 0 / 387.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4979, allocations: 0 / 387.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008044/0.4987, allocations: 420.8 kB / 387.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4987, allocations: 4 kB / 387.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.4991, allocations: 43.91 kB / 387.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4991, allocations: 4 kB / 387.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4992, allocations: 4 kB / 387.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4992, allocations: 0 / 387.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4992, allocations: 4 kB / 387.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.4998, allocations: 424.3 kB / 388.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.4999, allocations: 96.89 kB / 388.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.5, allocations: 8 kB / 388.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5002, allocations: 7.953 kB / 388.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.5002, allocations: 7.984 kB / 388.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.5003, allocations: 8 kB / 388.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.5005, allocations: 139.4 kB / 388.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5005, allocations: 0 / 388.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005103/0.501, allocations: 59.84 kB / 388.6 MB, free: 11.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * 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.001081/0.5021, allocations: 1.236 MB / 389.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.5026, allocations: 139.7 kB / 389.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5026, allocations: 0.875 kB / 389.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5027, allocations: 52.55 kB / 390 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.5032, allocations: 33.36 kB / 390 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.5073, allocations: 3.674 MB / 393.7 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.5078, allocations: 0.7437 MB / 394.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.508, allocations: 25.92 kB / 394.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.5081, allocations: 59.42 kB / 394.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5082, allocations: 0 / 394.5 MB, free: 5.797 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.5335, allocations: 3.31 MB / 397.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003903/0.534, allocations: 185.9 kB / 398 MB, free: 2.285 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/3.289, allocations: 4 kB / 398 MB, free: 2.281 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat