Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001627/0.001627, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009405/0.0009405, allocations: 101.3 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.872e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 51.47 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4372, allocations: 76.69 MB / 471.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.4375, allocations: 75.86 kB / 472 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004437/0.442, allocations: 1.308 MB / 473.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.442, allocations: 3.281 kB / 473.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4421, allocations: 6.75 kB / 473.3 MB, free: 13.43 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.0004048/0.4425, allocations: 346.2 kB / 473.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/0.4426, allocations: 12.03 kB / 473.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.4426, allocations: 8.688 kB / 473.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4429, allocations: 193 kB / 473.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4429, allocations: 0.8594 kB / 473.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.443, allocations: 5.062 kB / 473.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001406/0.4431, allocations: 28.47 kB / 473.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.4435, allocations: 132.1 kB / 474 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4435, allocations: 0 / 474 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4435, allocations: 0 / 474 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4436, allocations: 4 kB / 474.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.4437, allocations: 150.1 kB / 474.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.4439, allocations: 61.47 kB / 474.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.444, allocations: 42.64 kB / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.444, allocations: 4 kB / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.4441, allocations: 38.97 kB / 474.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.4441, allocations: 0 / 474.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002614/0.4444, allocations: 77.36 kB / 474.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.4444, allocations: 51.41 kB / 474.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4446, allocations: 130.7 kB / 474.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.4446, allocations: 29.7 kB / 474.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.4447, allocations: 85.45 kB / 474.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.4447, allocations: 4.938 kB / 474.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.4447, allocations: 4 kB / 474.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.4448, allocations: 317 kB / 475 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.4448, allocations: 6.938 kB / 475 MB, free: 11.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.4449, allocations: 61.36 kB / 475.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.445, allocations: 18.78 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.445, allocations: 0.75 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.4451, allocations: 77.61 kB / 475.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4451, allocations: 8 kB / 475.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4452, allocations: 0 / 475.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4452, allocations: 17 kB / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.4453, allocations: 17.39 kB / 475.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4453, allocations: 6.656 kB / 475.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.4454, allocations: 5.125 kB / 475.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4454, allocations: 5.938 kB / 475.2 MB, free: 11.5 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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 6.692e-05/0.4455, allocations: 110.8 kB / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001106/0.4456, allocations: 81.2 kB / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.4456, allocations: 13.36 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.4457, allocations: 9.844 kB / 475.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4457, allocations: 4 kB / 475.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4457, allocations: 0 / 475.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4457, allocations: 0 / 475.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.268e-05/0.4458, allocations: 148.8 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4458, allocations: 0 / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.4459, allocations: 18.39 kB / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4459, allocations: 0 / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.4459, allocations: 0 / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.4459, allocations: 5.031 kB / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.4459, allocations: 0 / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.4461, allocations: 111 kB / 475.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.4462, allocations: 92.81 kB / 475.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.4462, allocations: 0 / 475.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.4462, allocations: 11.05 kB / 475.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-06/0.4462, allocations: 3.953 kB / 475.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4463, allocations: 3.5 kB / 475.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.4463, allocations: 103.8 kB / 475.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4463, allocations: 0 / 475.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003224/0.4467, allocations: 8 kB / 476 MB, free: 10.79 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0004949/0.4472, allocations: 0.6603 MB / 476.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.4473, allocations: 48.91 kB / 476.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4473, allocations: 0 / 476.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4474, allocations: 0 / 476.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.4477, allocations: 40.53 kB / 476.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.4482, allocations: 153.6 kB / 476.9 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.4484, allocations: 0.7041 MB / 477.6 MB, free: 9.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.4484, allocations: 8.172 kB / 477.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.4485, allocations: 19.28 kB / 477.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4485, allocations: 0 / 477.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.4689, allocations: 1.232 MB / 478.8 MB, free: 8.488 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/0.4691, allocations: 150.2 kB / 479 MB, free: 8.301 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.994, allocations: 192 / 479 MB, free: 8.301 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat