Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 197.5 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009471/0.0009471, allocations: 95.48 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.867e-05, allocations: 4 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4441, allocations: 76.59 MB / 471.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4444, allocations: 78.94 kB / 471.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003405/0.4478, allocations: 1.262 MB / 473.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4478, allocations: 2.812 kB / 473.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4478, allocations: 4 kB / 473.2 MB, free: 13.62 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003253/0.4482, allocations: 348.6 kB / 473.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4482, allocations: 8.031 kB / 473.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.4483, allocations: 8.688 kB / 473.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.4485, allocations: 194.7 kB / 473.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4486, allocations: 4.906 kB / 473.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.4486, allocations: 4 kB / 473.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.577e-05/0.4487, allocations: 15.38 kB / 473.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.4489, allocations: 113.1 kB / 473.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4489, allocations: 4 kB / 473.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4489, allocations: 0.9375 kB / 473.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4489, allocations: 0 / 473.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.4491, allocations: 153.4 kB / 474 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4492, allocations: 58.89 kB / 474.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.4493, allocations: 41.17 kB / 474.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.4493, allocations: 4 kB / 474.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.4493, allocations: 34.52 kB / 474.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4493, allocations: 0 / 474.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001523/0.4495, allocations: 67.23 kB / 474.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4495, allocations: 61.61 kB / 474.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.4496, allocations: 118.9 kB / 474.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.4496, allocations: 25.7 kB / 474.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.4497, allocations: 96.84 kB / 474.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.4497, allocations: 1.688 kB / 474.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4497, allocations: 0 / 474.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.4497, allocations: 320.4 kB / 474.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.4498, allocations: 4 kB / 474.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.4498, allocations: 57.5 kB / 474.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.534e-05/0.4498, allocations: 17.3 kB / 474.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4498, allocations: 0 / 474.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.624e-05/0.4499, allocations: 82.09 kB / 475 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.45, allocations: 9.719 kB / 475 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.45, allocations: 0 / 475 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.45, allocations: 7.953 kB / 475 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.4501, allocations: 14.81 kB / 475 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.4501, allocations: 4 kB / 475 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.4501, allocations: 7.625 kB / 475.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4501, allocations: 4 kB / 475.1 MB, free: 11.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 4.461e-05/0.4502, allocations: 110.2 kB / 475.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.948e-05/0.4503, allocations: 71.55 kB / 475.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.4503, allocations: 12.94 kB / 475.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.4503, allocations: 11.97 kB / 475.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4503, allocations: 4 kB / 475.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4504, allocations: 0 / 475.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4504, allocations: 0.9375 kB / 475.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.205e-05/0.4504, allocations: 146.3 kB / 475.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4504, allocations: 1.078 kB / 475.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.4505, allocations: 20.81 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4505, allocations: 0 / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.4505, allocations: 4 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4505, allocations: 5.266 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4505, allocations: 0 / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.572e-05/0.4506, allocations: 92.34 kB / 475.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.4507, allocations: 88.72 kB / 475.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.4507, allocations: 0.7969 kB / 475.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.738e-05/0.4507, allocations: 0 / 475.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.4508, allocations: 7.891 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.4508, allocations: 8 kB / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.4508, allocations: 106.5 kB / 475.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4508, allocations: 0 / 475.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.451, allocations: 8 kB / 475.7 MB, free: 11.03 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003537/0.4514, allocations: 0.6414 MB / 476.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.317e-05/0.4515, allocations: 43.38 kB / 476.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4515, allocations: 0 / 476.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.4515, allocations: 0 / 476.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4518, allocations: 39.5 kB / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.4522, allocations: 139.8 kB / 476.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4525, allocations: 0.6965 MB / 477.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.4525, allocations: 9.766 kB / 477.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.4526, allocations: 21.36 kB / 477.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4526, allocations: 0 / 477.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.4723, allocations: 1.158 MB / 478.5 MB, free: 8.789 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.4725, allocations: 153.2 kB / 478.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.082, allocations: 1.688 kB / 478.6 MB, free: 8.602 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat