Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",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.001581/0.001582, allocations: 171 kB / 16.14 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0008556/0.0008556, allocations: 86.36 kB / 270.7 MB, free: 8.254 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.08233/0.08233, allocations: 12.6 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 8 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09245, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001226/0.09372, allocations: 1.14 MB / 444.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.09388, allocations: 23.86 kB / 444.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.09394, allocations: 0 / 444.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.09397, allocations: 3.984 kB / 444.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.314e-05/0.09401, allocations: 0 / 444.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.09424, allocations: 23.92 kB / 444.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.09431, allocations: 23.98 kB / 444.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.09439, allocations: 8 kB / 444.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.09443, allocations: 15.92 kB / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.09447, allocations: 11.94 kB / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.09449, allocations: 0 / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.0945, allocations: 0 / 444.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.09452, allocations: 7.984 kB / 444.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.09456, allocations: 41.56 kB / 444.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.694e-05/0.09462, allocations: 20.19 kB / 444.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.09463, allocations: 0 / 444.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09464, allocations: 0 / 444.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.09465, allocations: 0 / 444.5 MB, free: 13.99 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002719/0.09492, allocations: 351.4 kB / 444.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.09496, allocations: 8.031 kB / 444.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.09499, allocations: 34.75 kB / 444.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.876e-05/0.09502, allocations: 12.78 kB / 444.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.09513, allocations: 168.4 kB / 445 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.09516, allocations: 4.375 kB / 445 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.09518, allocations: 4.375 kB / 445 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.09545, allocations: 123.8 kB / 445.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.09547, allocations: 3.938 kB / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.09548, allocations: 0 / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.09549, allocations: 0 / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.0956, allocations: 31.91 kB / 445.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.662e-05/0.09569, allocations: 153.7 kB / 445.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.09581, allocations: 50.55 kB / 445.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.09587, allocations: 24.92 kB / 445.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.09589, allocations: 4 kB / 445.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.09591, allocations: 34.56 kB / 445.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.09591, allocations: 0 / 445.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002102/0.09613, allocations: 85.44 kB / 445.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.09617, allocations: 59.39 kB / 445.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.09622, allocations: 97.86 kB / 445.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.09623, allocations: 29.7 kB / 445.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.569e-05/0.09625, allocations: 84.14 kB / 445.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.09627, allocations: 11.92 kB / 445.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.09628, allocations: 0 / 445.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.09633, allocations: 314.8 kB / 446.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.09634, allocations: 4 kB / 446.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.09637, allocations: 31.42 kB / 446.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.09641, allocations: 39.38 kB / 446.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.09642, allocations: 0 / 446.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.511e-05/0.09649, allocations: 69.47 kB / 446.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.0965, allocations: 7.938 kB / 446.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09651, allocations: 4 kB / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.09653, allocations: 4.125 kB / 446.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.09658, allocations: 4 kB / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.09659, allocations: 0 / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.09662, allocations: 7.938 kB / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.09662, allocations: 384 / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.09668, allocations: 113.8 kB / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.09679, allocations: 65.55 kB / 446.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.09682, allocations: 7.5 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.09682, allocations: 7.938 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.09683, allocations: 8 kB / 446.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.09684, allocations: 3.984 kB / 446.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.851e-05/0.0969, allocations: 153.7 kB / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.0969, allocations: 0 / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.09694, allocations: 4 kB / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.09694, allocations: 3.938 kB / 446.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.09696, allocations: 3.984 kB / 446.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.09696, allocations: 0 / 446.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.09697, allocations: 0 / 446.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.09713, allocations: 96.95 kB / 446.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.09717, allocations: 77.11 kB / 446.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.0972, allocations: 7.938 kB / 446.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.09724, allocations: 0 / 446.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.09725, allocations: 3.938 kB / 446.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.09726, allocations: 4 kB / 446.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.09729, allocations: 87.27 kB / 446.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09729, allocations: 0 / 446.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000168/0.09747, allocations: 4 kB / 446.9 MB, free: 11.16 MB / 298.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003433/0.09782, allocations: 0.6436 MB / 447.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.09792, allocations: 27.92 kB / 447.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.09793, allocations: 0 / 447.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.09794, allocations: 0 / 447.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.09815, allocations: 36.27 kB / 447.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.09879, allocations: 1.158 MB / 448.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.09892, allocations: 0.6848 MB / 449.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.263e-05/0.09894, allocations: 4 kB / 449.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.09898, allocations: 19.36 kB / 449.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.09899, allocations: 0 / 449.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.1093, allocations: 1.113 MB / 450.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.1096, allocations: 229.3 kB / 450.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.719, allocations: 3.938 kB / 450.8 MB, free: 7.055 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat