Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009437, allocations: 97.47 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009764/0.0009763, allocations: 189.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2172/0.2172, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 11.94 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006179/0.1176, allocations: 209.2 kB / 471.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1188, allocations: 0.7253 MB / 472.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.432e-05/0.1188, allocations: 0 / 472.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.879e-06/0.1189, allocations: 0 / 472.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-06/0.1189, allocations: 0 / 472.5 MB, free: 12.78 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function ‘ModelicaTest.Math.Vectors‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1201, allocations: 0.4941 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.876e-05/0.1202, allocations: 0 / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1202, allocations: 3.984 kB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.1202, allocations: 0 / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.588e-05/0.1202, allocations: 0 / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-06/0.1203, allocations: 0 / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.1208, allocations: 359.3 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-06/0.1208, allocations: 0 / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.1209, allocations: 29.7 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1212, allocations: 239.5 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1212, allocations: 0 / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1212, allocations: 3.938 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1212, allocations: 4 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003933/0.1216, allocations: 377.1 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1216, allocations: 8.031 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.1217, allocations: 0 / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.55e-05/0.1217, allocations: 163.1 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1218, allocations: 4 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1218, allocations: 3.984 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1219, allocations: 33.66 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1219, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.122, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.122, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.122, allocations: 4 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.1221, allocations: 141.7 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.1222, allocations: 30.53 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.1222, allocations: 4.859 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.1222, allocations: 7.922 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.1222, allocations: 68.28 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1223, allocations: 0 / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.1224, allocations: 59.34 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1225, allocations: 85.09 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.42e-05/0.1225, allocations: 89.98 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1225, allocations: 29.7 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1226, allocations: 80.14 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1226, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.1226, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1228, allocations: 314.8 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.1228, allocations: 7.938 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.1228, allocations: 0 / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.1228, allocations: 25.7 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1228, allocations: 4.062 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.946e-05/0.1229, allocations: 63.39 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.1229, allocations: 32.2 kB / 475.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1229, allocations: 8 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.123, allocations: 3.953 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-06/0.123, allocations: 3.938 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.123, allocations: 0 / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.123, allocations: 0 / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.123, allocations: 0 / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.558e-05/0.1231, allocations: 144.1 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.1231, allocations: 3.984 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.358e-06/0.1231, allocations: 3.125 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1231, allocations: 3.953 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1231, allocations: 0 / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1231, allocations: 0 / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.666e-05/0.1232, allocations: 149.7 kB / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1232, allocations: 0 / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1232, allocations: 0 / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1232, allocations: 0 / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1232, allocations: 7.984 kB / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1233, allocations: 0 / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1233, allocations: 7.953 kB / 475.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1234, allocations: 86.78 kB / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.1234, allocations: 81.09 kB / 475.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1234, allocations: 7.938 kB / 475.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.1234, allocations: 0 / 475.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.1235, allocations: 0 / 475.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1235, allocations: 7.984 kB / 475.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.1236, allocations: 75.28 kB / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1236, allocations: 0 / 475.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1239, allocations: 79.98 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004407/0.1244, allocations: 220.4 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.1244, allocations: 55.41 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1244, allocations: 64 / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.1245, allocations: 59.41 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.1246, allocations: 5.203 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001424/0.1248, allocations: 82.66 kB / 476.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.125, allocations: 0.6731 MB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.498e-06/0.125, allocations: 3.938 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-06/0.125, allocations: 7.438 kB / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.125, allocations: 0 / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Templates: time 0.004368/0.1294, allocations: 1.787 MB / 478.8 MB, free: 6.062 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1)