Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009927, allocations: 100.4 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.445/0.445, allocations: 44.23 MB / 387.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 12 kB / 460 MB, free: 1.695 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.432, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.5545, allocations: 85.85 MB / 0.5935 GB, free: 9.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.5548, allocations: 63.94 kB / 0.5935 GB, free: 9.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004023/0.5588, allocations: 1.662 MB / 0.5952 GB, free: 7.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5589, allocations: 0 / 0.5952 GB, free: 7.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5589, allocations: 4 kB / 0.5952 GB, free: 7.586 MB / 410.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.0003184/0.5592, allocations: 369 kB / 0.5955 GB, free: 7.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.5592, allocations: 8.031 kB / 0.5955 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.5593, allocations: 34.56 kB / 0.5955 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.5593, allocations: 3.984 kB / 0.5956 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.5594, allocations: 159.1 kB / 0.5957 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.5594, allocations: 4 kB / 0.5957 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.5595, allocations: 3.953 kB / 0.5957 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.201e-05/0.5595, allocations: 25.7 kB / 0.5957 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.5596, allocations: 0 / 0.5957 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.5596, allocations: 4 kB / 0.5957 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.5596, allocations: 0 / 0.5957 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.5596, allocations: 7.938 kB / 0.5957 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.5597, allocations: 153.6 kB / 0.5959 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.5598, allocations: 18.61 kB / 0.5959 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.5598, allocations: 0 / 0.5959 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.5598, allocations: 60.22 kB / 0.596 GB, free: 6.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.5598, allocations: 0 / 0.596 GB, free: 6.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.56, allocations: 75.3 kB / 0.596 GB, free: 6.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5601, allocations: 81.23 kB / 0.5961 GB, free: 6.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.155e-05/0.5601, allocations: 88.94 kB / 0.5962 GB, free: 6.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5601, allocations: 29.7 kB / 0.5962 GB, free: 6.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.5602, allocations: 80.14 kB / 0.5963 GB, free: 6.176 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.5602, allocations: 0 / 0.5963 GB, free: 6.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.5602, allocations: 0 / 0.5963 GB, free: 6.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5603, allocations: 310.8 kB / 0.5966 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-06/0.5603, allocations: 0 / 0.5966 GB, free: 5.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.5603, allocations: 8 kB / 0.5966 GB, free: 5.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.5604, allocations: 29.77 kB / 0.5966 GB, free: 5.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5604, allocations: 0 / 0.5966 GB, free: 5.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.099e-05/0.5604, allocations: 67.39 kB / 0.5967 GB, free: 5.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.5605, allocations: 29.7 kB / 0.5967 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5605, allocations: 0 / 0.5967 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5605, allocations: 3.953 kB / 0.5967 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.5605, allocations: 0 / 0.5967 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.5605, allocations: 7.938 kB / 0.5967 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.5605, allocations: 0 / 0.5967 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.5606, allocations: 4.031 kB / 0.5967 GB, free: 5.691 MB / 410.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 8.074e-05/0.5606, allocations: 140.1 kB / 0.5969 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.5607, allocations: 7.984 kB / 0.5969 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.049e-05/0.5607, allocations: 6.719 kB / 0.5969 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.5607, allocations: 0 / 0.5969 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5607, allocations: 3.953 kB / 0.5969 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.5607, allocations: 0 / 0.5969 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.553e-05/0.5608, allocations: 149.7 kB / 0.597 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5608, allocations: 0 / 0.597 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5608, allocations: 4 kB / 0.597 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5608, allocations: 0 / 0.597 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.5608, allocations: 3.938 kB / 0.597 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.5608, allocations: 0 / 0.597 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5608, allocations: 0 / 0.597 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.487e-05/0.5609, allocations: 94.78 kB / 0.5971 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.561, allocations: 77.11 kB / 0.5972 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.561, allocations: 0 / 0.5972 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.561, allocations: 11.97 kB / 0.5972 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.561, allocations: 0 / 0.5972 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.561, allocations: 0 / 0.5972 GB, free: 5.098 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.57e-05/0.5611, allocations: 79.23 kB / 0.5973 GB, free: 5.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5611, allocations: 0 / 0.5973 GB, free: 5.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.5613, allocations: 31.97 kB / 0.5973 GB, free: 4.988 MB / 410.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.0007801/0.5621, allocations: 0.8013 MB / 0.5981 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.076e-05/0.5622, allocations: 71.33 kB / 0.5982 GB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5622, allocations: 0 / 0.5982 GB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.5622, allocations: 55.41 kB / 0.5982 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.144e-05/0.5623, allocations: 2.391 kB / 0.5982 GB, free: 4.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.5626, allocations: 120.3 kB / 0.5984 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.5629, allocations: 0.6772 MB / 0.599 GB, free: 3.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.141e-06/0.5629, allocations: 4 kB / 0.599 GB, free: 3.211 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.5629, allocations: 7.438 kB / 0.599 GB, free: 3.203 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5629, allocations: 0 / 0.599 GB, free: 3.203 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.5742, allocations: 1.373 MB / 0.6004 GB, free: 1.938 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.5744, allocations: 208.5 kB / 0.6006 GB, free: 1.699 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.102, allocations: 4 kB / 0.6006 GB, free: 1.695 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat