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: "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestVectors,fileNamePrefix="ModelicaTest_4_0_0_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.001162/0.001162, allocations: 94 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.001484/0.001484, allocations: 188.4 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.347/1.347, allocations: 223.2 MB / 241.9 MB, free: 340 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.2816/0.2816, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0006641/0.1167, allocations: 218.9 kB / 471.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1181, allocations: 0.7198 MB / 472.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.403e-05/0.1181, allocations: 3.938 kB / 472.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1182, allocations: 0 / 472.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.1182, allocations: 0 / 472.6 MB, free: 12.69 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.001401/0.1196, allocations: 493.7 kB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.074e-05/0.1196, allocations: 4 kB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.1197, allocations: 3.984 kB / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.1197, allocations: 0 / 473.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.012e-05/0.1198, allocations: 11.92 kB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-06/0.1198, allocations: 0 / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1204, allocations: 347.3 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.1204, allocations: 0 / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.1204, allocations: 25.7 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1208, allocations: 251.5 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1208, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1208, allocations: 0 / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1209, allocations: 0 / 473.7 MB, free: 11.57 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.0003715/0.1212, allocations: 375.4 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1213, allocations: 12.03 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1213, allocations: 34.56 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.1214, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1215, allocations: 171 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1215, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1215, allocations: 3.953 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.1216, allocations: 29.7 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1216, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1216, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1216, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.1216, allocations: 7.938 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1218, allocations: 153.6 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.708e-05/0.1218, allocations: 14.58 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.1219, allocations: 12.95 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.1219, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.1219, allocations: 60.22 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1219, allocations: 0 / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001845/0.1221, allocations: 71.33 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.1222, allocations: 77.11 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.205e-05/0.1222, allocations: 89.86 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1222, allocations: 29.7 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.1223, allocations: 80.14 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1223, allocations: 4 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-06/0.1223, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1224, allocations: 310.8 kB / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-06/0.1225, allocations: 128 / 475.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.1225, allocations: 4 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.1225, allocations: 29.7 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1225, allocations: 0 / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.828e-05/0.1226, allocations: 63.33 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.1226, allocations: 37.7 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1227, allocations: 3.953 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1227, allocations: 3.938 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1227, allocations: 0 / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1227, allocations: 0 / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.1227, allocations: 8.094 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1227, allocations: 4 kB / 475.3 MB, free: 9.652 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 9.769e-05/0.1228, allocations: 136.1 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.1228, allocations: 0 / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.103e-05/0.1229, allocations: 7.125 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1229, allocations: 3.953 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1229, allocations: 0 / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1229, allocations: 0 / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.789e-05/0.123, allocations: 149.7 kB / 475.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.123, allocations: 4 kB / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.123, allocations: 0 / 475.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.123, allocations: 4 kB / 475.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.123, allocations: 3.938 kB / 475.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.123, allocations: 0 / 475.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.123, allocations: 3.953 kB / 475.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.776e-05/0.1231, allocations: 98.67 kB / 475.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.1232, allocations: 77.11 kB / 475.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1232, allocations: 4.031 kB / 475.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-06/0.1232, allocations: 0 / 475.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.1232, allocations: 7.953 kB / 475.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1233, allocations: 4 kB / 475.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.305e-05/0.1233, allocations: 75.28 kB / 475.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1233, allocations: 0 / 475.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.1237, allocations: 75.98 kB / 476 MB, free: 8.902 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.0007566/0.1244, allocations: 0.744 MB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.328e-05/0.1245, allocations: 67.28 kB / 476.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1245, allocations: 0 / 476.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.1246, allocations: 55.41 kB / 476.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.1247, allocations: 0 / 476.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1251, allocations: 144.4 kB / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1253, allocations: 0.6731 MB / 477.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.1253, allocations: 0 / 477.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.1253, allocations: 7.438 kB / 477.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1254, allocations: 0 / 477.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.139, allocations: 2.444 MB / 480.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.1392, allocations: 203.7 kB / 480.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.95, allocations: 7.938 kB / 480.3 MB, free: 4.508 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestVectors.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_res.mat does not exist to compare? outputFormat=mat