Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01103/0.01103, allocations: 103.9 kB / 15.05 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.1.mo): time 0.001199/0.001198, allocations: 169.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.626/1.626, allocations: 170.9 MB / 187.5 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2568/0.2568, allocations: 38.1 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 16 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.109, allocations: 48.71 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003669/0.1127, allocations: 2.065 MB / 374.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1143, allocations: 0.6474 MB / 375 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.1146, allocations: 7.938 kB / 375 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.1146, allocations: 27.77 kB / 375 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.115, allocations: 103.7 kB / 375.1 MB, free: 10 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1153, allocations: 63.92 kB / 375.2 MB, free: 9.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.1158, allocations: 231.5 kB / 375.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.116, allocations: 69.44 kB / 375.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.1163, allocations: 111.5 kB / 375.6 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.1165, allocations: 115.5 kB / 375.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.1166, allocations: 12 kB / 375.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-05/0.1167, allocations: 16 kB / 375.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.1167, allocations: 51.75 kB / 375.8 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.1168, allocations: 73.58 kB / 375.9 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.1172, allocations: 207.7 kB / 376.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1172, allocations: 0 / 376.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1172, allocations: 0 / 376.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1172, allocations: 0 / 376.1 MB, free: 9.062 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001211/0.1184, allocations: 0.5534 MB / 376.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1185, allocations: 8.031 kB / 376.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.764e-05/0.1186, allocations: 58.55 kB / 376.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.1187, allocations: 35.53 kB / 376.7 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.1191, allocations: 258.5 kB / 377 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1191, allocations: 24.5 kB / 377 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.1192, allocations: 39.91 kB / 377 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007936/0.12, allocations: 281.9 kB / 377.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.1201, allocations: 3.906 kB / 377.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.1201, allocations: 12 kB / 377.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1202, allocations: 8 kB / 377.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.1209, allocations: 207.7 kB / 377.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.1236, allocations: 1.314 MB / 378.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.1243, allocations: 254.5 kB / 379.1 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.1244, allocations: 7.984 kB / 379.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1245, allocations: 42.56 kB / 379.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 5.871e-06/0.1245, allocations: 0 / 379.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.005087/0.1296, allocations: 1.62 MB / 380.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.1297, allocations: 144.4 kB / 380.9 MB, free: 3.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.13, allocations: 228.9 kB / 381.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1301, allocations: 29.7 kB / 381.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.1303, allocations: 180.4 kB / 381.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.1304, allocations: 110.3 kB / 381.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.1305, allocations: 8 kB / 381.5 MB, free: 3.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1306, allocations: 346.8 kB / 381.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.1311, allocations: 112.8 kB / 381.9 MB, free: 2.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.1317, allocations: 245.5 kB / 382.1 MB, free: 2.375 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.1323, allocations: 147.8 kB / 382.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1323, allocations: 0 / 382.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001397/0.1337, allocations: 412.9 kB / 382.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.1338, allocations: 8 kB / 382.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1338, allocations: 4 kB / 382.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.1338, allocations: 8 kB / 382.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/0.1346, allocations: 108.2 kB / 382.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.1346, allocations: 19.86 kB / 382.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.135, allocations: 27.89 kB / 382.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.1351, allocations: 20 kB / 382.9 MB, free: 1.629 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0002156/0.1353, allocations: 162.6 kB / 383 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1355, allocations: 23.72 kB / 383.1 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.1356, allocations: 37.7 kB / 383.1 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1356, allocations: 4 kB / 383.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.1356, allocations: 0 / 383.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1356, allocations: 3.984 kB / 383.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.138, allocations: 1.001 MB / 384.1 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.1381, allocations: 4.062 kB / 384.1 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.1388, allocations: 88.16 kB / 384.2 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.1388, allocations: 4 kB / 384.2 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.1389, allocations: 11.95 kB / 384.2 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.1389, allocations: 11.88 kB / 384.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1389, allocations: 0 / 384.2 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.1407, allocations: 0.8193 MB / 385 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.1409, allocations: 121 kB / 385.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.141, allocations: 8 kB / 385.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.1415, allocations: 28.3 kB / 385.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1416, allocations: 35.89 kB / 385.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.1417, allocations: 8 kB / 385.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.1419, allocations: 164.5 kB / 385.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1419, allocations: 0 / 385.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006764/0.1426, allocations: 68 kB / 385.5 MB, free: 14.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.002289/0.1449, allocations: 1.716 MB / 387.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1461, allocations: 296.7 kB / 387.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1461, allocations: 0 / 387.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005333/0.1466, allocations: 143.8 kB / 387.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.1473, allocations: 45.27 kB / 387.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.1538, allocations: 5.037 MB / 392.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.1543, allocations: 0.78 MB / 393.5 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002641/0.1546, allocations: 34.95 kB / 393.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.1548, allocations: 91.41 kB / 393.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of SimCode: time 2.875e-06/0.1548, allocations: 0 / 393.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.1861, allocations: 4.738 MB / 398.3 MB, free: 1.891 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.1865, allocations: 172.1 kB / 398.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/2.674, allocations: 0 / 398.5 MB, free: 1.645 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat