Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001767/0.001767, allocations: 184 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008229/0.0008228, allocations: 78.89 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2145/0.2145, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003323, allocations: 12 kB / 431.5 MB, free: 19.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 58.85 MB / 490.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.6093, allocations: 86.46 MB / 0.5633 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.6097, allocations: 62.78 kB / 0.5633 GB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.6281, allocations: 6.298 MB / 0.5695 GB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6281, allocations: 0 / 0.5695 GB, free: 8.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.6282, allocations: 4 kB / 0.5695 GB, free: 8.086 MB / 378.7 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.0005096/0.6287, allocations: 415.1 kB / 0.5699 GB, free: 7.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6287, allocations: 8.031 kB / 0.5699 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.6288, allocations: 38.5 kB / 0.5699 GB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.6288, allocations: 0 / 0.5699 GB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.629, allocations: 167 kB / 0.5701 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.629, allocations: 0 / 0.5701 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.629, allocations: 0 / 0.5701 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.6291, allocations: 33.7 kB / 0.5701 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6291, allocations: 3.938 kB / 0.5701 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.6291, allocations: 3.938 kB / 0.5701 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6292, allocations: 0 / 0.5701 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.6292, allocations: 4 kB / 0.5701 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.6293, allocations: 157 kB / 0.5703 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.6294, allocations: 22.55 kB / 0.5703 GB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.6294, allocations: 0 / 0.5703 GB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.6295, allocations: 63.58 kB / 0.5704 GB, free: 7.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.6295, allocations: 0 / 0.5704 GB, free: 7.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001921/0.6297, allocations: 63.45 kB / 0.5704 GB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.6297, allocations: 85.05 kB / 0.5705 GB, free: 6.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.6298, allocations: 88 kB / 0.5706 GB, free: 6.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.6298, allocations: 25.7 kB / 0.5706 GB, free: 6.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.6299, allocations: 84.14 kB / 0.5707 GB, free: 6.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.6299, allocations: 8.781 kB / 0.5707 GB, free: 6.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.6299, allocations: 0 / 0.5707 GB, free: 6.629 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.63, allocations: 314.8 kB / 0.571 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.6301, allocations: 0 / 0.571 GB, free: 6.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.6301, allocations: 4 kB / 0.571 GB, free: 6.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.6301, allocations: 33.06 kB / 0.571 GB, free: 6.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6301, allocations: 0 / 0.571 GB, free: 6.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.124e-05/0.6302, allocations: 59.41 kB / 0.5711 GB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.6302, allocations: 33.8 kB / 0.5711 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6303, allocations: 4 kB / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6303, allocations: 0 / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.6303, allocations: 0 / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6303, allocations: 0 / 0.5711 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.6303, allocations: 3.938 kB / 0.5711 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.6303, allocations: 3.984 kB / 0.5711 GB, free: 6.152 MB / 378.7 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.853e-05/0.6304, allocations: 146.2 kB / 0.5713 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.6304, allocations: 0 / 0.5713 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.458e-05/0.6305, allocations: 3.125 kB / 0.5713 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6305, allocations: 4 kB / 0.5713 GB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6305, allocations: 4 kB / 0.5713 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6305, allocations: 0 / 0.5713 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.6306, allocations: 149.6 kB / 0.5714 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6306, allocations: 3.938 kB / 0.5714 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.6306, allocations: 0 / 0.5714 GB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.6306, allocations: 4 kB / 0.5714 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6307, allocations: 4 kB / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6307, allocations: 0 / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6307, allocations: 0 / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.6308, allocations: 97.33 kB / 0.5715 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.6309, allocations: 85 kB / 0.5716 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6309, allocations: 0 / 0.5716 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.6309, allocations: 4 kB / 0.5716 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.631, allocations: 3.938 kB / 0.5716 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.631, allocations: 0 / 0.5716 GB, free: 5.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.631, allocations: 87.3 kB / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.631, allocations: 0 / 0.5717 GB, free: 5.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.6314, allocations: 74.47 kB / 0.5718 GB, free: 5.398 MB / 378.7 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.001004/0.6325, allocations: 0.8704 MB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.6326, allocations: 63.33 kB / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6326, allocations: 3.062 kB / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.6326, allocations: 55.41 kB / 0.5727 GB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.399e-05/0.6327, allocations: 0 / 0.5727 GB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.6331, allocations: 168.7 kB / 0.5729 GB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.6334, allocations: 0.6692 MB / 0.5736 GB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.6334, allocations: 4 kB / 0.5736 GB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.6335, allocations: 11.42 kB / 0.5736 GB, free: 3.488 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6335, allocations: 0 / 0.5736 GB, free: 3.488 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.6492, allocations: 2.265 MB / 0.5758 GB, free: 1.242 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.6495, allocations: 206 kB / 0.576 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.3, allocations: 3.938 kB / 0.576 GB, free: 0.9922 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat