Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001198, allocations: 94.72 kB / 16.32 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 184.5 kB / 17.21 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.2 MB / 241.2 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 9.031 kB / 300.9 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 50.41 MB / 351.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001529/0.1139, allocations: 1.12 MB / 352.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.1141, allocations: 35.91 kB / 352.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1142, allocations: 7.875 kB / 352.5 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.1142, allocations: 7.984 kB / 352.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.1143, allocations: 0 / 352.5 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1145, allocations: 19.98 kB / 352.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.1146, allocations: 27.92 kB / 352.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.1147, allocations: 11.97 kB / 352.6 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.1147, allocations: 11.94 kB / 352.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.1148, allocations: 7.922 kB / 352.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1148, allocations: 4 kB / 352.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.406e-06/0.1148, allocations: 0 / 352.6 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1148, allocations: 4 kB / 352.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.1149, allocations: 33.7 kB / 352.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.333e-05/0.1149, allocations: 15.97 kB / 352.6 MB, free: 2.578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.115, allocations: 3.938 kB / 352.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.115, allocations: 0 / 352.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.115, allocations: 0 / 352.6 MB, free: 2.574 MB / 286.1 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.0003766/0.1154, allocations: 335.5 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1154, allocations: 8.031 kB / 353 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.1154, allocations: 38.5 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1155, allocations: 7.953 kB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.1157, allocations: 175 kB / 353.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1157, allocations: 8 kB / 353.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1157, allocations: 4 kB / 353.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.116, allocations: 115.3 kB / 353.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.116, allocations: 0 / 353.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1161, allocations: 0 / 353.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1161, allocations: 7.938 kB / 353.3 MB, free: 1.781 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.1162, allocations: 27.92 kB / 353.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.1163, allocations: 157.7 kB / 353.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1165, allocations: 50.55 kB / 353.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.1165, allocations: 24.92 kB / 353.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.1165, allocations: 0 / 353.6 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1166, allocations: 30.56 kB / 353.6 MB, free: 1.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1166, allocations: 4 kB / 353.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002328/0.1168, allocations: 77.61 kB / 353.7 MB, free: 1.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.1169, allocations: 55.39 kB / 353.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.117, allocations: 113.7 kB / 353.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.117, allocations: 25.7 kB / 353.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.117, allocations: 80.14 kB / 354 MB, free: 1.039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.117, allocations: 3.984 kB / 354 MB, free: 1.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.1171, allocations: 4 kB / 354 MB, free: 1.031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.1171, allocations: 318.8 kB / 354.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.1172, allocations: 11.94 kB / 354.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.1172, allocations: 35.67 kB / 354.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.1172, allocations: 11.94 kB / 354.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1172, allocations: 0 / 354.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.824e-05/0.1173, allocations: 61.66 kB / 354.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1174, allocations: 4 kB / 354.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1174, allocations: 4 kB / 354.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1174, allocations: 192 / 354.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.1174, allocations: 4 kB / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1175, allocations: 0 / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.1175, allocations: 7.953 kB / 354.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1175, allocations: 7.984 kB / 354.4 MB, free: 0.5469 MB / 286.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/0.1176, allocations: 113.9 kB / 354.5 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1177, allocations: 69.58 kB / 354.6 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.1177, allocations: 3.5 kB / 354.6 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1177, allocations: 4 kB / 354.6 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1178, allocations: 0 / 354.6 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1178, allocations: 0 / 354.6 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1179, allocations: 165.5 kB / 354.8 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1179, allocations: 0 / 354.8 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.1179, allocations: 4 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1179, allocations: 0 / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1179, allocations: 0 / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1179, allocations: 7.984 kB / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1179, allocations: 0 / 354.8 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1181, allocations: 97 kB / 354.9 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.1182, allocations: 81.02 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1182, allocations: 0 / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.631e-05/0.1182, allocations: 4 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-06/0.1183, allocations: 0 / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1183, allocations: 4 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.535e-05/0.1183, allocations: 91.2 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1183, allocations: 4 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000183/0.1185, allocations: 4 kB / 355.1 MB, free: 15.8 MB / 302.1 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 (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.0005094/0.119, allocations: 0.6397 MB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1191, allocations: 32.11 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1192, allocations: 3.938 kB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.1192, allocations: 0 / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1194, allocations: 34.3 kB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.1199, allocations: 390 kB / 356.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1202, allocations: 0.677 MB / 356.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.1202, allocations: 4 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.1202, allocations: 11.44 kB / 356.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1203, allocations: 0 / 356.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01087/0.1311, allocations: 1.087 MB / 357.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.1313, allocations: 210.7 kB / 358.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.035, allocations: 3.875 kB / 358.1 MB, free: 12.75 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat