Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.001457/0.001457, allocations: 181 kB / 8.049 MB, free: 1.027 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.098/2.098, allocations: 205.3 MB / 213.8 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001374/0.001373, allocations: 94.56 kB / 261.8 MB, free: 1.668 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.1057/0.1057, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.937e-05, allocations: 0 / 379 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 50.37 MB / 429.4 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5351, allocations: 77.59 MB / 0.4951 GB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5355, allocations: 75.95 kB / 0.4952 GB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008256/0.5437, allocations: 1.97 MB / 0.4971 GB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5438, allocations: 0 / 0.4971 GB, free: 2.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5438, allocations: 7.984 kB / 0.4971 GB, free: 2.566 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004362/0.5442, allocations: 354.4 kB / 0.4975 GB, free: 2.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5443, allocations: 12.03 kB / 0.4975 GB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.5444, allocations: 7.906 kB / 0.4975 GB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.5446, allocations: 191.8 kB / 0.4977 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5446, allocations: 4 kB / 0.4977 GB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.5447, allocations: 0 / 0.4977 GB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001114/0.5448, allocations: 20 kB / 0.4977 GB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.5451, allocations: 93.05 kB / 0.4978 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5451, allocations: 0 / 0.4978 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5451, allocations: 0 / 0.4978 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5451, allocations: 0 / 0.4978 GB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.5456, allocations: 254.2 kB / 0.498 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.5457, allocations: 41.16 kB / 0.4981 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.5457, allocations: 13.78 kB / 0.4981 GB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.5457, allocations: 3.984 kB / 0.4981 GB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5458, allocations: 34.56 kB / 0.4981 GB, free: 1.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.5458, allocations: 0 / 0.4981 GB, free: 1.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.546, allocations: 49.62 kB / 0.4981 GB, free: 1.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.5461, allocations: 77.11 kB / 0.4982 GB, free: 1.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5462, allocations: 123.7 kB / 0.4983 GB, free: 1.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.5463, allocations: 25.7 kB / 0.4984 GB, free: 1.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.5463, allocations: 96.03 kB / 0.4985 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.5464, allocations: 4.062 kB / 0.4985 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.5464, allocations: 0 / 0.4985 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5465, allocations: 322.8 kB / 0.4988 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.5466, allocations: 3.938 kB / 0.4988 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.5466, allocations: 21.7 kB / 0.4988 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.5467, allocations: 4 kB / 0.4988 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5467, allocations: 3.938 kB / 0.4988 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001062/0.5468, allocations: 49.61 kB / 0.4988 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5468, allocations: 8 kB / 0.4989 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5468, allocations: 0 / 0.4989 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5469, allocations: 0 / 0.4989 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.547, allocations: 11.98 kB / 0.4989 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.547, allocations: 4 kB / 0.4989 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.5471, allocations: 5.219 kB / 0.4989 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5471, allocations: 4 kB / 0.4989 GB, free: 0.5234 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.304e-05/0.5472, allocations: 109 kB / 0.499 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001194/0.5474, allocations: 45.62 kB / 0.499 GB, free: 368 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.5474, allocations: 11.91 kB / 0.499 GB, free: 356 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.5475, allocations: 7.969 kB / 0.499 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.5475, allocations: 3.984 kB / 0.499 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5475, allocations: 0 / 0.499 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5475, allocations: 3.984 kB / 0.4991 GB, free: 340 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.5477, allocations: 146.2 kB / 0.4992 GB, free: 156 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5477, allocations: 7.984 kB / 0.4992 GB, free: 148 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.5478, allocations: 8.062 kB / 0.4992 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5478, allocations: 0 / 0.4992 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5479, allocations: 0 / 0.4992 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.5479, allocations: 4 kB / 0.4992 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5479, allocations: 3.938 kB / 0.4992 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.5481, allocations: 162 kB / 0.4994 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.5482, allocations: 93 kB / 0.4995 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.5483, allocations: 0 / 0.4995 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5484, allocations: 4 kB / 0.4995 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.5484, allocations: 3.984 kB / 0.4995 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.5484, allocations: 4 kB / 0.4995 GB, free: 15.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.945e-05/0.5486, allocations: 104 kB / 0.4996 GB, free: 15.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5486, allocations: 0 / 0.4996 GB, free: 15.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.5489, allocations: 7.953 kB / 0.4996 GB, free: 15.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005319/0.5494, allocations: 0.7563 MB / 0.5003 GB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.214e-05/0.5495, allocations: 12 kB / 0.5003 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5496, allocations: 160 / 0.5003 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.5496, allocations: 8 kB / 0.5003 GB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.5499, allocations: 35.16 kB / 0.5004 GB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.5504, allocations: 114.6 kB / 0.5005 GB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.5508, allocations: 0.6963 MB / 0.5012 GB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.5509, allocations: 7.984 kB / 0.5012 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.5509, allocations: 19.59 kB / 0.5012 GB, free: 13.96 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5509, allocations: 0 / 0.5012 GB, free: 13.96 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.5846, allocations: 0.945 MB / 0.5021 GB, free: 13.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.585, allocations: 165.3 kB / 0.5023 GB, free: 12.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.965, allocations: 0 / 0.5023 GB, free: 12.83 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat