Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001554/0.001553, allocations: 182.1 kB / 8.049 MB, free: 1.02 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.3 MB / 213.8 MB, free: 13.75 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.001163/0.001163, allocations: 94 kB / 261.8 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1344/0.1344, allocations: 12.58 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.365e-05, allocations: 4 kB / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09967, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4687/0.5684, allocations: 78.86 MB / 0.4964 GB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5688, allocations: 81.14 kB / 0.4964 GB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009235/0.578, allocations: 2.37 MB / 0.4988 GB, free: 11.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5781, allocations: 4 kB / 0.4988 GB, free: 11.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.5781, allocations: 7.875 kB / 0.4988 GB, free: 11.25 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005666/0.5787, allocations: 420.5 kB / 0.4992 GB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5787, allocations: 7.719 kB / 0.4992 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.5788, allocations: 15.5 kB / 0.4992 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.5791, allocations: 235.1 kB / 0.4994 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5792, allocations: 11.8 kB / 0.4994 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5792, allocations: 3.844 kB / 0.4994 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001556/0.5794, allocations: 47.47 kB / 0.4995 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.5802, allocations: 236.6 kB / 0.4997 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.5802, allocations: 3.984 kB / 0.4997 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.5803, allocations: 0 / 0.4997 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5804, allocations: 7.094 kB / 0.4997 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5817, allocations: 402 kB / 0.5001 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.5821, allocations: 251.2 kB / 0.5003 GB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.5823, allocations: 87.52 kB / 0.5004 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.5823, allocations: 7.219 kB / 0.5004 GB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.5824, allocations: 50.25 kB / 0.5005 GB, free: 9.852 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.5824, allocations: 0 / 0.5005 GB, free: 9.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003897/0.5828, allocations: 119.2 kB / 0.5006 GB, free: 9.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.5829, allocations: 190.5 kB / 0.5008 GB, free: 9.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.5831, allocations: 160.5 kB / 0.5009 GB, free: 9.488 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.5832, allocations: 29.55 kB / 0.501 GB, free: 9.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.5832, allocations: 107.4 kB / 0.5011 GB, free: 9.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.5833, allocations: 14.33 kB / 0.5011 GB, free: 9.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.5833, allocations: 0 / 0.5011 GB, free: 9.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.5834, allocations: 329 kB / 0.5014 GB, free: 9.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.5834, allocations: 17.66 kB / 0.5014 GB, free: 9.039 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.5835, allocations: 132.4 kB / 0.5015 GB, free: 8.891 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.5836, allocations: 37.09 kB / 0.5016 GB, free: 8.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5837, allocations: 0 / 0.5016 GB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002849/0.584, allocations: 140 kB / 0.5017 GB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.584, allocations: 11.66 kB / 0.5017 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.584, allocations: 3.969 kB / 0.5017 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.584, allocations: 7.938 kB / 0.5017 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.5843, allocations: 42.06 kB / 0.5018 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.5843, allocations: 11.88 kB / 0.5018 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.5845, allocations: 18.83 kB / 0.5018 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.5845, allocations: 11.22 kB / 0.5018 GB, free: 8.801 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 9e-05/0.5846, allocations: 116.5 kB / 0.5019 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003085/0.5849, allocations: 132 kB / 0.502 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.585, allocations: 19.75 kB / 0.5021 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.5851, allocations: 20.58 kB / 0.5021 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.5851, allocations: 3.844 kB / 0.5021 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.5851, allocations: 10.12 kB / 0.5021 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5852, allocations: 3 kB / 0.5021 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.5855, allocations: 189.3 kB / 0.5023 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5855, allocations: 0 / 0.5023 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.5858, allocations: 42.55 kB / 0.5023 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.5858, allocations: 2.344 kB / 0.5023 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.5858, allocations: 7.844 kB / 0.5023 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.5858, allocations: 3.938 kB / 0.5023 GB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.5858, allocations: 7.797 kB / 0.5023 GB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.5862, allocations: 368.2 kB / 0.5027 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5863, allocations: 109.3 kB / 0.5028 GB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.5864, allocations: 2.625 kB / 0.5028 GB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5867, allocations: 14.2 kB / 0.5028 GB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.5867, allocations: 0 / 0.5028 GB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.5868, allocations: 11.62 kB / 0.5028 GB, free: 8.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.5869, allocations: 127 kB / 0.5029 GB, free: 7.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5869, allocations: 3.938 kB / 0.5029 GB, free: 7.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.5874, allocations: 15.47 kB / 0.503 GB, free: 7.945 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0007329/0.5881, allocations: 1.226 MB / 0.5042 GB, free: 6.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.5884, allocations: 82.14 kB / 0.5042 GB, free: 6.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5884, allocations: 4.062 kB / 0.5042 GB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.5885, allocations: 7.688 kB / 0.5042 GB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.5891, allocations: 89.66 kB / 0.5043 GB, free: 6.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.59, allocations: 246.5 kB / 0.5046 GB, free: 6.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.5903, allocations: 0.7379 MB / 0.5053 GB, free: 5.926 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.947e-05/0.5904, allocations: 12.83 kB / 0.5053 GB, free: 5.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5905, allocations: 38.8 kB / 0.5053 GB, free: 5.914 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5905, allocations: 3.656 kB / 0.5053 GB, free: 5.914 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.6336, allocations: 2.687 MB / 0.508 GB, free: 5.387 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/0.634, allocations: 174.4 kB / 0.5081 GB, free: 5.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.165, allocations: 0 / 0.5081 GB, free: 5.195 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat