Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample",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.001471/0.001472, allocations: 178.4 kB / 8.048 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.149/2.149, 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.001087/0.001087, allocations: 95.56 kB / 261.8 MB, free: 13.45 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.1061/0.1061, allocations: 12.59 MB / 322.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.062e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09936, allocations: 50.38 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/0.54, allocations: 77.59 MB / 0.4951 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5403, allocations: 77.58 kB / 0.4952 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007802/0.5481, allocations: 1.965 MB / 0.4971 GB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5482, allocations: 0 / 0.4971 GB, free: 11.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5482, allocations: 0 / 0.4971 GB, free: 11.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004082/0.5486, allocations: 359.5 kB / 0.4974 GB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5487, allocations: 7.625 kB / 0.4975 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.5487, allocations: 10.97 kB / 0.4975 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.549, allocations: 190.9 kB / 0.4976 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.549, allocations: 0 / 0.4976 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.549, allocations: 3.969 kB / 0.4977 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001109/0.5491, allocations: 17.81 kB / 0.4977 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.5494, allocations: 98.77 kB / 0.4978 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5494, allocations: 0 / 0.4978 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5494, allocations: 3.812 kB / 0.4978 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5494, allocations: 0 / 0.4978 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.5498, allocations: 251 kB / 0.498 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.5499, allocations: 38.97 kB / 0.498 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.55, allocations: 17.47 kB / 0.4981 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.55, allocations: 0 / 0.4981 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.55, allocations: 42.44 kB / 0.4981 GB, free: 10.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.55, allocations: 0 / 0.4981 GB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001775/0.5502, allocations: 44.22 kB / 0.4981 GB, free: 10.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5503, allocations: 84.86 kB / 0.4982 GB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.5504, allocations: 124.6 kB / 0.4983 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.5504, allocations: 25.7 kB / 0.4984 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.5505, allocations: 86.7 kB / 0.4984 GB, free: 9.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.5505, allocations: 3.844 kB / 0.4985 GB, free: 9.953 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5505, allocations: 4.062 kB / 0.4985 GB, free: 9.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.5506, allocations: 320.8 kB / 0.4988 GB, free: 9.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.5506, allocations: 0 / 0.4988 GB, free: 9.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.5507, allocations: 15.59 kB / 0.4988 GB, free: 9.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.574e-05/0.5507, allocations: 11.47 kB / 0.4988 GB, free: 9.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5507, allocations: 0 / 0.4988 GB, free: 9.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.055e-05/0.5508, allocations: 55.73 kB / 0.4988 GB, free: 9.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5508, allocations: 3.812 kB / 0.4988 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5509, allocations: 3.984 kB / 0.4988 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5509, allocations: 3.844 kB / 0.4989 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.551, allocations: 10.83 kB / 0.4989 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.551, allocations: 0 / 0.4989 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.5511, allocations: 9.125 kB / 0.4989 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.5511, allocations: 0 / 0.4989 GB, free: 9.559 MB / 330.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 6.036e-05/0.5512, allocations: 112.8 kB / 0.499 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001005/0.5513, allocations: 51.58 kB / 0.499 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.5513, allocations: 3.844 kB / 0.499 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.5514, allocations: 10.11 kB / 0.499 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5514, allocations: 3.984 kB / 0.499 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5514, allocations: 0 / 0.499 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5514, allocations: 0 / 0.499 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.5516, allocations: 150.3 kB / 0.4992 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5516, allocations: 3.906 kB / 0.4992 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.5517, allocations: 7.844 kB / 0.4992 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5517, allocations: 2.156 kB / 0.4992 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.5517, allocations: 3.844 kB / 0.4992 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5517, allocations: 0 / 0.4992 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5517, allocations: 0 / 0.4992 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.5519, allocations: 162.5 kB / 0.4994 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.5519, allocations: 96.64 kB / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.552, allocations: 3.844 kB / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.5521, allocations: 2.062 kB / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.5521, allocations: 3.906 kB / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5522, allocations: 2.297 kB / 0.4995 GB, free: 8.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.904e-05/0.5522, allocations: 101.8 kB / 0.4996 GB, free: 8.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5522, allocations: 0 / 0.4996 GB, free: 8.895 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.5526, allocations: 7.766 kB / 0.4996 GB, free: 8.891 MB / 330.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.0003143/0.5529, allocations: 0.7594 MB / 0.5003 GB, free: 8.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.553, allocations: 14.88 kB / 0.5003 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.553, allocations: 0 / 0.5003 GB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.5531, allocations: 10.44 kB / 0.5003 GB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.5534, allocations: 17.45 kB / 0.5004 GB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.5539, allocations: 120.8 kB / 0.5005 GB, free: 8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.5541, allocations: 0.6951 MB / 0.5011 GB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.5541, allocations: 4.5 kB / 0.5012 GB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.5542, allocations: 21 kB / 0.5012 GB, free: 7.289 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5542, allocations: 4.156 kB / 0.5012 GB, free: 7.285 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.5931, allocations: 0.9524 MB / 0.5021 GB, free: 7.211 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.5935, allocations: 156.3 kB / 0.5023 GB, free: 7.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.85, allocations: 0 / 0.5023 GB, free: 7.023 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat does not exist to compare? outputFormat=mat