Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction.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.Blocks.UnitDeduction,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_UnitDeduction",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.01172/0.01172, allocations: 107.7 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.001312/0.001312, allocations: 179.6 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.089/2.089, allocations: 194.6 MB / 211.3 MB, free: 11 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.2752/0.2752, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006642/0.0006644, allocations: 12 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1176, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.006087/0.1238, allocations: 3.131 MB / 419.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.1269, allocations: 1.057 MB / 420.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006144/0.1275, allocations: 15.94 kB / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1277, allocations: 55.44 kB / 420.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008234/0.1285, allocations: 171.4 kB / 420.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1296, allocations: 243.6 kB / 420.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.131, allocations: 0.4961 MB / 421.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005283/0.1315, allocations: 195.7 kB / 421.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00063/0.1322, allocations: 243 kB / 421.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.1326, allocations: 230.7 kB / 421.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.1327, allocations: 23.94 kB / 421.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.1328, allocations: 24 kB / 421.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.133, allocations: 91.59 kB / 422 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1331, allocations: 125.3 kB / 422.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007984/0.1339, allocations: 499 kB / 422.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1339, allocations: 3.938 kB / 422.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.134, allocations: 0 / 422.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.134, allocations: 0 / 422.6 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002398/0.1364, allocations: 0.8723 MB / 423.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1365, allocations: 12.03 kB / 423.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1367, allocations: 82.52 kB / 423.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1368, allocations: 79.06 kB / 423.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.1378, allocations: 442.7 kB / 424.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.1379, allocations: 44.95 kB / 424.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.138, allocations: 52 kB / 424.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.1395, allocations: 482.3 kB / 424.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.1396, allocations: 7.891 kB / 424.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.1397, allocations: 20 kB / 424.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1397, allocations: 12 kB / 424.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.141, allocations: 358.1 kB / 425 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005726/0.1468, allocations: 1.776 MB / 426.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.1486, allocations: 465.4 kB / 427.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.1487, allocations: 12.14 kB / 427.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1487, allocations: 39.12 kB / 427.3 MB, free: 7.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 4.939e-06/0.1488, allocations: 4 kB / 427.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.00216/0.1509, allocations: 0.5489 MB / 427.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.1511, allocations: 106.8 kB / 427.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.1519, allocations: 450.1 kB / 428.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.024e-05/0.152, allocations: 33.7 kB / 428.4 MB, free: 5.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.1523, allocations: 315.8 kB / 428.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1525, allocations: 149.8 kB / 428.9 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.1526, allocations: 8 kB / 428.9 MB, free: 5.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1528, allocations: 374.7 kB / 429.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007448/0.1535, allocations: 165 kB / 429.4 MB, free: 4.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007816/0.1543, allocations: 307.9 kB / 429.7 MB, free: 4.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.1551, allocations: 201 kB / 429.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1551, allocations: 0 / 429.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001876/0.157, allocations: 0.5665 MB / 430.5 MB, free: 3.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006284/0.1577, allocations: 1.398 MB / 431.9 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.1577, allocations: 4 kB / 431.9 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.1577, allocations: 4 kB / 431.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/0.1587, allocations: 131.8 kB / 432 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.1588, allocations: 4 kB / 432 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.1594, allocations: 59.58 kB / 432.1 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.1595, allocations: 20 kB / 432.1 MB, free: 1.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1595, allocations: 4 kB / 432.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.1611, allocations: 459.6 kB / 432.5 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.1611, allocations: 4 kB / 432.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1612, allocations: 11.95 kB / 432.6 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/0.1621, allocations: 119.8 kB / 432.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.1622, allocations: 7.938 kB / 432.7 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.1628, allocations: 51.86 kB / 432.7 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.1629, allocations: 20 kB / 432.8 MB, free: 1.316 MB / 362.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 (63): * Single equations (assignments): 63 * 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.0004604/0.1634, allocations: 257.2 kB / 433 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.1636, allocations: 51.34 kB / 433.1 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.1638, allocations: 73.03 kB / 433.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1638, allocations: 7.938 kB / 433.1 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.1639, allocations: 0 / 433.1 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.1639, allocations: 11.97 kB / 433.1 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.165, allocations: 0.5322 MB / 433.7 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.1651, allocations: 0 / 433.7 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.1662, allocations: 87.89 kB / 433.8 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.1662, allocations: 3.984 kB / 433.8 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/0.1663, allocations: 12 kB / 433.8 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.1664, allocations: 7.953 kB / 433.8 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1664, allocations: 0 / 433.8 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.1687, allocations: 0.8018 MB / 434.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.1691, allocations: 164.5 kB / 434.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.1692, allocations: 15.95 kB / 434.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/0.1698, allocations: 27.98 kB / 434.8 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.17, allocations: 35.89 kB / 434.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.17, allocations: 11.98 kB / 434.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005396/0.1706, allocations: 306.9 kB / 435.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1706, allocations: 0 / 435.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001046/0.1716, allocations: 223.2 kB / 435.4 MB, free: 14.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x) * 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 (38): * Single equations (assignments): 38 * 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.00262/0.1743, allocations: 1.412 MB / 436.8 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.1767, allocations: 0.6566 MB / 437.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.1767, allocations: 0 / 437.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.1774, allocations: 196.2 kB / 437.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.1788, allocations: 141.6 kB / 437.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/0.1884, allocations: 5.851 MB / 443.6 MB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/0.1891, allocations: 0.898 MB / 444.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.1897, allocations: 64.23 kB / 444.6 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.1902, allocations: 203.4 kB / 444.8 MB, free: 5.008 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1902, allocations: 0 / 444.8 MB, free: 5.008 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3513/0.5415, allocations: 10.4 MB / 455.2 MB, free: 57.91 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.5419, allocations: 182.2 kB / 455.3 MB, free: 57.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.969/3.511, allocations: 0.5312 kB / 455.3 MB, free: 57.66 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.UnitDeduction_res.mat does not exist to compare? outputFormat=mat