Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.0007802, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008054/0.0008055, allocations: 176.1 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3648/0.3648, allocations: 43.54 MB / 314.6 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005188, allocations: 15.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0007283/0.1293, allocations: 236.4 kB / 443.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.1317, allocations: 1.888 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.1318, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.1318, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.1318, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.1334, allocations: 0.5883 MB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.059e-05/0.1334, allocations: 3.984 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.1335, allocations: 7.984 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.308e-05/0.1335, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.561e-05/0.1335, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-06/0.1335, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1346, allocations: 0.6239 MB / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-06/0.1346, allocations: 0 / 446.2 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1346, allocations: 25.7 kB / 446.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.1351, allocations: 407.2 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1351, allocations: 4 kB / 446.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1351, allocations: 3.938 kB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1351, allocations: 0 / 446.6 MB, free: 9.156 MB / 382.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.0005009/0.1356, allocations: 397.1 kB / 447 MB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1357, allocations: 16.03 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.1357, allocations: 30.56 kB / 447.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.1357, allocations: 3.953 kB / 447.1 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.1358, allocations: 167 kB / 447.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1359, allocations: 0 / 447.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1359, allocations: 4 kB / 447.3 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.979e-05/0.136, allocations: 25.7 kB / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.136, allocations: 0 / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.136, allocations: 0 / 447.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.136, allocations: 3.953 kB / 447.3 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.136, allocations: 11.94 kB / 447.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.1362, allocations: 149.7 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.1362, allocations: 18.61 kB / 447.5 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.103e-05/0.1362, allocations: 4.859 kB / 447.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.1362, allocations: 0 / 447.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.1363, allocations: 60.27 kB / 447.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 2.665e-06/0.1363, allocations: 4 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001846/0.1365, allocations: 75.33 kB / 447.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1365, allocations: 77.11 kB / 447.7 MB, free: 7.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.121e-05/0.1366, allocations: 93.81 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1366, allocations: 29.7 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1366, allocations: 80.14 kB / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1367, allocations: 288 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.1367, allocations: 0 / 447.9 MB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1368, allocations: 315 kB / 448.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.1368, allocations: 0 / 448.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.1368, allocations: 4 kB / 448.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.1369, allocations: 29.7 kB / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1369, allocations: 0 / 448.2 MB, free: 7.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.077e-05/0.1369, allocations: 67.33 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.137, allocations: 29.7 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.137, allocations: 0 / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.137, allocations: 0 / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.137, allocations: 96 / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.137, allocations: 4 kB / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.137, allocations: 4 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1371, allocations: 3.953 kB / 448.3 MB, free: 7.215 MB / 382.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 9.133e-05/0.1371, allocations: 143.5 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.1372, allocations: 4 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.989e-06/0.1372, allocations: 7.062 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1372, allocations: 0 / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1372, allocations: 0 / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1372, allocations: 0 / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.801e-05/0.1373, allocations: 157.6 kB / 448.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1373, allocations: 4 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1373, allocations: 0 / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1373, allocations: 0 / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1373, allocations: 0 / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1373, allocations: 0 / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1373, allocations: 0 / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.1374, allocations: 102.8 kB / 448.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.1375, allocations: 81.09 kB / 448.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1375, allocations: 0 / 448.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-06/0.1375, allocations: 3.938 kB / 448.8 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.1375, allocations: 4 kB / 448.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1375, allocations: 0 / 448.8 MB, free: 6.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.1376, allocations: 79.28 kB / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1376, allocations: 0 / 448.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004147/0.138, allocations: 128 kB / 449 MB, free: 6.406 MB / 382.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.0009078/0.1389, allocations: 0.7857 MB / 449.8 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.607e-05/0.139, allocations: 55.41 kB / 449.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.139, allocations: 0 / 449.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.1391, allocations: 55.41 kB / 449.9 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1392, allocations: 4.125 kB / 449.9 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.1396, allocations: 156.2 kB / 450.1 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1399, allocations: 0.6692 MB / 450.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.534e-06/0.1399, allocations: 3.938 kB / 450.7 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.1399, allocations: 7.438 kB / 450.7 MB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1399, allocations: 0 / 450.7 MB, free: 4.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.1562, allocations: 4.499 MB / 455.2 MB, free: 84 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2476/0.4038, allocations: 201.4 kB / 455.4 MB, free: 48.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.241, allocations: 0 / 455.4 MB, free: 48.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat does not exist to compare? outputFormat=mat