Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001486/0.001486, allocations: 198.1 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.479/1.479, 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.0007865/0.0007866, allocations: 99.75 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.668e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.463, allocations: 76.66 MB / 471.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/0.4632, allocations: 76.66 kB / 472 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002593/0.4658, allocations: 1.24 MB / 473.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4659, allocations: 0 / 473.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.4659, allocations: 0 / 473.2 MB, free: 13.57 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.0002211/0.4661, allocations: 343.3 kB / 473.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4661, allocations: 12.64 kB / 473.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.4662, allocations: 12.31 kB / 473.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.4663, allocations: 187.5 kB / 473.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4663, allocations: 1.609 kB / 473.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.4664, allocations: 4 kB / 473.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.967e-05/0.4664, allocations: 22.69 kB / 473.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4666, allocations: 120.4 kB / 473.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.4666, allocations: 4 kB / 473.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.4667, allocations: 0 / 473.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4667, allocations: 0 / 473.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.771e-05/0.4668, allocations: 145.8 kB / 474.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.4669, allocations: 57.45 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.4669, allocations: 35.56 kB / 474.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.4669, allocations: 8 kB / 474.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.4669, allocations: 35.17 kB / 474.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4669, allocations: 3.938 kB / 474.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001198/0.4671, allocations: 62.8 kB / 474.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.4671, allocations: 54.84 kB / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.4672, allocations: 115.8 kB / 474.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.4672, allocations: 29.7 kB / 474.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.511e-05/0.4672, allocations: 88.73 kB / 474.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.4672, allocations: 5.516 kB / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.4672, allocations: 0 / 474.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.4673, allocations: 320.3 kB / 474.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.4673, allocations: 7.5 kB / 474.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.4673, allocations: 55.81 kB / 474.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.4674, allocations: 17.23 kB / 475 MB, free: 11.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4674, allocations: 0 / 475 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.238e-05/0.4675, allocations: 85.69 kB / 475 MB, free: 11.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4675, allocations: 8.609 kB / 475 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4675, allocations: 0 / 475 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4675, allocations: 11.64 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.4675, allocations: 5.125 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4676, allocations: 0.6094 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.4676, allocations: 6.156 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.4676, allocations: 4 kB / 475.1 MB, free: 11.7 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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 4.235e-05/0.4677, allocations: 111.5 kB / 475.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.73e-05/0.4677, allocations: 67.27 kB / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.4677, allocations: 12.66 kB / 475.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.4678, allocations: 13.19 kB / 475.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.4678, allocations: 0 / 475.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4678, allocations: 0.6562 kB / 475.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4678, allocations: 0.75 kB / 475.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.343e-05/0.4679, allocations: 141.8 kB / 475.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4679, allocations: 0 / 475.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.4679, allocations: 4.594 kB / 475.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4679, allocations: 4 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.4679, allocations: 4.75 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4679, allocations: 3.953 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4679, allocations: 0 / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.628e-05/0.468, allocations: 92.52 kB / 475.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.468, allocations: 96.67 kB / 475.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.4681, allocations: 4 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.4681, allocations: 0.75 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-06/0.4681, allocations: 3.953 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.4681, allocations: 4 kB / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.487e-05/0.4681, allocations: 99.81 kB / 475.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4681, allocations: 1.688 kB / 475.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.4683, 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.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.0002633/0.4686, allocations: 0.6548 MB / 476.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.4687, allocations: 36.33 kB / 476.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4687, allocations: 0 / 476.4 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-07/0.4687, 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.0001943/0.4689, allocations: 33.8 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.0002826/0.4692, allocations: 142.9 kB / 476.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.4693, allocations: 0.6956 MB / 477.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.4693, allocations: 9.359 kB / 477.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.4694, allocations: 19.53 kB / 477.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4694, allocations: 0 / 477.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.4895, allocations: 1.125 MB / 478.4 MB, free: 8.805 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.4897, allocations: 155.4 kB / 478.6 MB, free: 8.613 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.973, allocations: 0 / 478.6 MB, free: 8.613 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat