Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007605/0.0007604, allocations: 97.8 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.234e-05, allocations: 0 / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 50.41 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3164/0.4191, allocations: 76.55 MB / 470.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4194, allocations: 83.94 kB / 471 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003154/0.4225, allocations: 1.314 MB / 472.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4226, allocations: 0 / 472.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4226, allocations: 4 kB / 472.3 MB, free: 9.422 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.0003098/0.4229, allocations: 353.5 kB / 472.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4229, allocations: 8.031 kB / 472.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.423, allocations: 42.56 kB / 472.7 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.423, allocations: 11.86 kB / 472.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.4232, allocations: 191.8 kB / 472.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.4232, allocations: 0 / 472.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.4233, allocations: 8 kB / 472.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4235, allocations: 141.4 kB / 473 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4235, allocations: 4 kB / 473 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4236, allocations: 7.891 kB / 473 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4236, allocations: 0 / 473 MB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.4236, allocations: 20 kB / 473.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.4238, allocations: 181.5 kB / 473.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.4239, allocations: 71.53 kB / 473.3 MB, free: 8.246 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.715e-05/0.424, allocations: 44.89 kB / 473.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.424, allocations: 4 kB / 473.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.424, allocations: 30.56 kB / 473.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.424, allocations: 0 / 473.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001603/0.4242, allocations: 81.53 kB / 473.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4242, allocations: 63.36 kB / 473.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.4244, allocations: 126.7 kB / 473.6 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4244, allocations: 29.7 kB / 473.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.4244, allocations: 88.14 kB / 473.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.4244, allocations: 3.984 kB / 473.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4244, allocations: 8 kB / 473.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.4245, allocations: 310.8 kB / 474.1 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.4246, allocations: 12 kB / 474.1 MB, free: 7.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/0.4246, allocations: 54.86 kB / 474.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.4247, allocations: 23.94 kB / 474.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4247, allocations: 0 / 474.2 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001217/0.4248, allocations: 97.39 kB / 474.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4248, allocations: 5.562 kB / 474.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.4248, allocations: 4 kB / 474.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4248, allocations: 0 / 474.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.4249, allocations: 19.94 kB / 474.3 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4249, allocations: 11.98 kB / 474.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.425, allocations: 11.86 kB / 474.3 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.425, allocations: 4.25 kB / 474.3 MB, free: 7.145 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.838e-05/0.4251, allocations: 119.9 kB / 474.4 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-05/0.4252, allocations: 77.73 kB / 474.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.4252, allocations: 16.61 kB / 474.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4252, allocations: 0 / 474.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4252, allocations: 0 / 474.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4252, allocations: 4 kB / 474.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.979e-05/0.4253, allocations: 169.6 kB / 474.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4253, allocations: 0 / 474.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.4254, allocations: 15.98 kB / 474.7 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4254, allocations: 7.938 kB / 474.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4254, allocations: 4.188 kB / 474.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4254, allocations: 0 / 474.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4254, allocations: 3.938 kB / 474.7 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4256, allocations: 109 kB / 474.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.4256, allocations: 96.94 kB / 474.9 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.4257, allocations: 3.984 kB / 474.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.4257, allocations: 4 kB / 474.9 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.4257, allocations: 4 kB / 474.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.4257, allocations: 4 kB / 474.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.4258, allocations: 108.7 kB / 475 MB, free: 6.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4258, allocations: 0 / 475 MB, free: 6.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000182/0.426, allocations: 8 kB / 475.1 MB, free: 6.312 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.0004529/0.4264, allocations: 0.6826 MB / 475.7 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.4266, allocations: 39.94 kB / 475.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4266, allocations: 0 / 475.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.4266, allocations: 0 / 475.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.4268, allocations: 44.5 kB / 475.8 MB, free: 5.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.4272, allocations: 163.3 kB / 476 MB, free: 5.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4274, allocations: 0.7043 MB / 476.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.548e-05/0.4275, allocations: 8.609 kB / 476.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4275, allocations: 23.42 kB / 476.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4275, allocations: 0 / 476.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.4399, allocations: 1.546 MB / 478.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/0.4403, allocations: 165.4 kB / 478.4 MB, free: 2.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/1.905, allocations: 0 / 478.4 MB, free: 2.934 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat