Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",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.002031/0.002035, 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.109/2.109, 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.001232/0.001232, allocations: 94.75 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.1297/0.1297, allocations: 12.6 MB / 322.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.213e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5407, allocations: 77.75 MB / 0.4953 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003966/0.5412, allocations: 78.89 kB / 0.4954 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006003/0.5472, allocations: 1.536 MB / 0.4969 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5472, allocations: 0 / 0.4969 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.5473, allocations: 0 / 0.4969 GB, free: 11.59 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003931/0.5477, allocations: 370.3 kB / 0.4972 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5477, allocations: 11.62 kB / 0.4972 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.5478, allocations: 11.59 kB / 0.4972 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.548, allocations: 193 kB / 0.4974 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.548, allocations: 6.625 kB / 0.4974 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.5481, allocations: 3.844 kB / 0.4974 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001109/0.5482, allocations: 21.72 kB / 0.4974 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.5484, allocations: 120.1 kB / 0.4976 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5485, allocations: 0 / 0.4976 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5485, allocations: 0 / 0.4976 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5485, allocations: 3.844 kB / 0.4976 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.5489, allocations: 346 kB / 0.4979 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.549, allocations: 81.78 kB / 0.498 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.5491, allocations: 43.5 kB / 0.498 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.5492, allocations: 0 / 0.498 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5492, allocations: 37.59 kB / 0.4981 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.5492, allocations: 0 / 0.4981 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002376/0.5494, allocations: 71.59 kB / 0.4981 GB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.5495, allocations: 133.2 kB / 0.4982 GB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5496, allocations: 129.6 kB / 0.4984 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.5497, allocations: 29.64 kB / 0.4984 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.5497, allocations: 90.36 kB / 0.4985 GB, free: 9.996 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.5497, allocations: 7.594 kB / 0.4985 GB, free: 9.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.5498, allocations: 3.969 kB / 0.4985 GB, free: 9.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.5498, allocations: 321.1 kB / 0.4988 GB, free: 9.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.5499, allocations: 3.844 kB / 0.4988 GB, free: 9.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.5499, allocations: 41.91 kB / 0.4988 GB, free: 9.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.55, allocations: 6.938 kB / 0.4989 GB, free: 9.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.55, allocations: 4 kB / 0.4989 GB, free: 9.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001342/0.5501, allocations: 81.12 kB / 0.4989 GB, free: 9.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5502, allocations: 3.688 kB / 0.4989 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5502, allocations: 0 / 0.4989 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.5502, allocations: 3.875 kB / 0.4989 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5504, allocations: 13.28 kB / 0.499 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5504, allocations: 2.672 kB / 0.499 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.5505, allocations: 7.969 kB / 0.499 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5505, allocations: 3.875 kB / 0.499 GB, free: 9.578 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 6.24e-05/0.5506, allocations: 108.9 kB / 0.4991 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001644/0.5507, allocations: 75.95 kB / 0.4991 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.5508, allocations: 7.75 kB / 0.4992 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.5509, allocations: 13.59 kB / 0.4992 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5509, allocations: 3.844 kB / 0.4992 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5509, allocations: 0 / 0.4992 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5509, allocations: 4.125 kB / 0.4992 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.5512, allocations: 159.6 kB / 0.4993 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5512, allocations: 3.953 kB / 0.4993 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5513, allocations: 14.36 kB / 0.4993 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.5513, allocations: 3.781 kB / 0.4993 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5514, allocations: 0 / 0.4993 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5514, allocations: 6.562 kB / 0.4994 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-06/0.5514, allocations: 3.969 kB / 0.4994 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.5516, allocations: 290.2 kB / 0.4996 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.5517, allocations: 91.2 kB / 0.4997 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.5517, allocations: 2.672 kB / 0.4997 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5519, allocations: 7.719 kB / 0.4997 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5519, allocations: 6.922 kB / 0.4997 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5519, allocations: 7.75 kB / 0.4997 GB, free: 8.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.552, allocations: 111.5 kB / 0.4998 GB, free: 8.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.552, allocations: 0 / 0.4998 GB, free: 8.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.5524, allocations: 7.625 kB / 0.4999 GB, free: 8.777 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0004202/0.5529, allocations: 1.022 MB / 0.5009 GB, free: 7.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.553, allocations: 29.22 kB / 0.5009 GB, free: 7.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.553, allocations: 4.062 kB / 0.5009 GB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.5531, allocations: 7.594 kB / 0.5009 GB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.5535, allocations: 30.11 kB / 0.5009 GB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.5541, allocations: 157.1 kB / 0.5011 GB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.5543, allocations: 0.7038 MB / 0.5018 GB, free: 6.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.5544, allocations: 14.55 kB / 0.5018 GB, free: 6.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.5545, allocations: 13.56 kB / 0.5018 GB, free: 6.895 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5545, allocations: 3.969 kB / 0.5018 GB, free: 6.895 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.5908, allocations: 1.252 MB / 0.503 GB, free: 6.801 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/0.5912, allocations: 157 kB / 0.5032 GB, free: 6.609 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/2.992, allocations: 0 / 0.5032 GB, free: 6.609 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat