Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 95.94 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00154/0.00154, allocations: 192.6 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 45.93 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003701, allocations: 11.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 63.46 MB / 481.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0005933/0.1392, allocations: 211 kB / 481.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1405, allocations: 0.7245 MB / 482.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.1405, allocations: 0 / 482.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.726e-06/0.1406, allocations: 0 / 482.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.1406, allocations: 4 kB / 482.6 MB, free: 4.363 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001406/0.142, allocations: 0.5487 MB / 483.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.164e-05/0.142, allocations: 4 kB / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.1421, allocations: 0 / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.1421, allocations: 0 / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.727e-05/0.1421, allocations: 0 / 483.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.1421, allocations: 4 kB / 483.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.1427, allocations: 367.3 kB / 483.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-06/0.1427, allocations: 4 kB / 483.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1428, allocations: 25.7 kB / 483.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1431, allocations: 247.6 kB / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.1431, allocations: 0 / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1431, allocations: 7.875 kB / 483.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1431, allocations: 0 / 483.8 MB, free: 3.164 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.0003356/0.1435, allocations: 385 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1435, allocations: 16.03 kB / 484.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.1436, allocations: 30.56 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.749e-05/0.1436, allocations: 0 / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.19e-05/0.1437, allocations: 163 kB / 484.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1437, allocations: 0 / 484.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.1437, allocations: 4 kB / 484.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.888e-05/0.1438, allocations: 25.7 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1438, allocations: 0 / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1438, allocations: 0 / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1438, allocations: 4 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.1438, allocations: 11.92 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.144, allocations: 149.6 kB / 484.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/0.144, allocations: 18.61 kB / 484.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.2e-05/0.144, allocations: 4.859 kB / 484.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.144, allocations: 0 / 484.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1441, allocations: 56.27 kB / 484.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1441, allocations: 4 kB / 484.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.1442, allocations: 71.39 kB / 484.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1443, allocations: 77.11 kB / 484.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.1443, allocations: 89.86 kB / 484.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1443, allocations: 29.7 kB / 484.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.1444, allocations: 80.14 kB / 484.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.1444, allocations: 3.938 kB / 485 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-06/0.1444, allocations: 0 / 485 MB, free: 1.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.1445, allocations: 315 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-06/0.1445, allocations: 3.984 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.1445, allocations: 4 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.1446, allocations: 29.66 kB / 485.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1446, allocations: 0 / 485.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.986e-05/0.1447, allocations: 63.41 kB / 485.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.1447, allocations: 33.64 kB / 485.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1447, allocations: 0 / 485.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1447, allocations: 0 / 485.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.027e-06/0.1447, allocations: 12.08 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1448, allocations: 3.984 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.1448, allocations: 4 kB / 485.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1448, allocations: 0 / 485.4 MB, free: 1.238 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.969e-05/0.1449, allocations: 135.5 kB / 485.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.1449, allocations: 4 kB / 485.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-06/0.1449, allocations: 3.125 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1449, allocations: 0 / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1449, allocations: 3.938 kB / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1449, allocations: 4 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.145, allocations: 149.7 kB / 485.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.145, allocations: 7.953 kB / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.145, allocations: 0 / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.145, allocations: 0 / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.145, allocations: 0 / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.145, allocations: 0 / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.145, allocations: 0 / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.1452, allocations: 106.7 kB / 485.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.1452, allocations: 81.06 kB / 485.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1452, allocations: 0 / 485.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.1452, allocations: 0 / 485.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1453, allocations: 4 kB / 485.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.1453, allocations: 0 / 485.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.1453, allocations: 75.28 kB / 486 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.696e-06/0.1453, allocations: 0 / 486 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.1456, allocations: 91.91 kB / 486.1 MB, free: 492 kB / 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.0006996/0.1463, allocations: 0.7423 MB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.1464, allocations: 63.33 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1464, allocations: 0 / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.1465, allocations: 59.47 kB / 486.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.1466, allocations: 13.91 kB / 486.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.1469, allocations: 140.3 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1471, allocations: 0.6731 MB / 487.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.308e-06/0.1471, allocations: 0 / 487.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.838e-06/0.1471, allocations: 7.438 kB / 487.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1472, allocations: 0 / 487.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1609, allocations: 2.526 MB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003395/0.1613, allocations: 207.1 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/1.987, allocations: 0 / 490.5 MB, free: 12 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat does not exist to compare? outputFormat=mat