Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001474/0.001474, allocations: 176.7 kB / 8.051 MB, free: 1.023 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.192/2.192, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001474/0.001474, allocations: 92.81 kB / 261.8 MB, free: 13.44 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.1077/0.1077, allocations: 12.59 MB / 322.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2.005e-05, allocations: 4 kB / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09459, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5914/0.686, allocations: 78.87 MB / 0.4964 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/0.6865, allocations: 80.19 kB / 0.4964 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.6992, allocations: 2.317 MB / 0.4987 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6992, allocations: 0 / 0.4987 GB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.123e-05/0.6993, allocations: 7.875 kB / 0.4987 GB, free: 11.5 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.0007026/0.7, allocations: 413.6 kB / 0.4991 GB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.7001, allocations: 7.688 kB / 0.4991 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.918e-05/0.7002, allocations: 23.19 kB / 0.4991 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.7007, allocations: 237.9 kB / 0.4994 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.7007, allocations: 3.953 kB / 0.4994 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.7007, allocations: 7.688 kB / 0.4994 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002317/0.701, allocations: 48.19 kB / 0.4994 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.7017, allocations: 234.6 kB / 0.4996 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7017, allocations: 0 / 0.4996 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.7017, allocations: 0 / 0.4996 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7018, allocations: 3.969 kB / 0.4996 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/0.7026, allocations: 403 kB / 0.5 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.7031, allocations: 255.1 kB / 0.5003 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.7033, allocations: 87.78 kB / 0.5004 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.7034, allocations: 7.016 kB / 0.5004 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.7035, allocations: 49.62 kB / 0.5004 GB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 5.05e-06/0.7035, allocations: 0 / 0.5004 GB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005522/0.704, allocations: 121.4 kB / 0.5005 GB, free: 10.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7042, allocations: 187.5 kB / 0.5007 GB, free: 9.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.7044, allocations: 163.7 kB / 0.5009 GB, free: 9.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.7045, allocations: 25.7 kB / 0.5009 GB, free: 9.699 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.7046, allocations: 97.61 kB / 0.501 GB, free: 9.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.7046, allocations: 19.08 kB / 0.501 GB, free: 9.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.7046, allocations: 0 / 0.501 GB, free: 9.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.7048, allocations: 325.8 kB / 0.5013 GB, free: 9.297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.7048, allocations: 14.56 kB / 0.5013 GB, free: 9.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.705, allocations: 123.9 kB / 0.5014 GB, free: 9.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.7051, allocations: 41.69 kB / 0.5015 GB, free: 9.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7052, allocations: 4.094 kB / 0.5015 GB, free: 9.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004094/0.7056, allocations: 126.6 kB / 0.5016 GB, free: 9.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.7056, allocations: 10.25 kB / 0.5016 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7057, allocations: 4.484 kB / 0.5016 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.7057, allocations: 11.62 kB / 0.5016 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.706, allocations: 37.62 kB / 0.5017 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.706, allocations: 7.047 kB / 0.5017 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.7063, allocations: 11.47 kB / 0.5017 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.7063, allocations: 7.719 kB / 0.5017 GB, free: 9.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001378/0.7065, allocations: 118.8 kB / 0.5018 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004711/0.707, allocations: 134.6 kB / 0.5019 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.7071, allocations: 18.41 kB / 0.502 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.7072, allocations: 15.59 kB / 0.502 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.7073, allocations: 7 kB / 0.502 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.7073, allocations: 0 / 0.502 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7073, allocations: 3.688 kB / 0.502 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.7078, allocations: 194.2 kB / 0.5022 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.7078, allocations: 0 / 0.5022 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.7082, allocations: 39.42 kB / 0.5022 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.7082, allocations: 7.844 kB / 0.5022 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.7083, allocations: 2.531 kB / 0.5022 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.7083, allocations: 3.875 kB / 0.5022 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.7083, allocations: 0 / 0.5022 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.7088, allocations: 367.7 kB / 0.5026 GB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.709, allocations: 119.6 kB / 0.5027 GB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.709, allocations: 0 / 0.5027 GB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.7094, allocations: 18.86 kB / 0.5027 GB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.7095, allocations: 4 kB / 0.5027 GB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.7095, allocations: 7.156 kB / 0.5027 GB, free: 8.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.7097, allocations: 125.2 kB / 0.5028 GB, free: 8.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7098, allocations: 0 / 0.5028 GB, free: 8.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008236/0.7106, allocations: 15.44 kB / 0.5028 GB, free: 8.207 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 (17): * Single equations (assignments): 17 * 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.0008173/0.7114, allocations: 1.167 MB / 0.504 GB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.7118, allocations: 92.27 kB / 0.5041 GB, free: 7.086 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.7118, allocations: 3.938 kB / 0.5041 GB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.7119, allocations: 7.281 kB / 0.5041 GB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.7128, allocations: 80 kB / 0.5042 GB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.7155, allocations: 350.8 kB / 0.5045 GB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.7159, allocations: 0.732 MB / 0.5052 GB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.716, allocations: 15.66 kB / 0.5052 GB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.7162, allocations: 40.91 kB / 0.5053 GB, free: 6.184 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7162, allocations: 0 / 0.5053 GB, free: 6.184 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/0.7627, allocations: 2.577 MB / 0.5078 GB, free: 5.684 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.763, allocations: 172 kB / 0.5079 GB, free: 5.492 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.235, allocations: 0 / 0.5079 GB, free: 5.492 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat