Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001201/0.001201, allocations: 177.4 kB / 15.82 MB, free: 6.305 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.619/1.619, allocations: 205.4 MB / 222 MB, free: 13.83 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.0008077/0.000808, allocations: 90.23 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08445/0.08445, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004384, allocations: 17.14 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09039, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001268/0.09169, allocations: 1.126 MB / 443.6 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.09194, allocations: 112 kB / 443.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.09201, allocations: 0 / 443.7 MB, free: 9.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.09203, allocations: 3.938 kB / 443.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.09207, allocations: 0 / 443.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.09229, allocations: 23.91 kB / 443.8 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.09236, allocations: 19.94 kB / 443.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.09245, allocations: 7.984 kB / 443.8 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.09249, allocations: 7.938 kB / 443.8 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.09252, allocations: 12 kB / 443.8 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.09254, allocations: 3.938 kB / 443.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-06/0.09256, allocations: 0 / 443.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.09258, allocations: 11.91 kB / 443.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.09261, allocations: 29.7 kB / 443.9 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.784e-05/0.09267, allocations: 16.55 kB / 443.9 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09268, allocations: 0 / 443.9 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.09269, allocations: 0 / 443.9 MB, free: 9.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.0927, allocations: 0 / 443.9 MB, free: 9.449 MB / 282.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.0003211/0.09302, allocations: 339.5 kB / 444.2 MB, free: 9.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.09307, allocations: 8.031 kB / 444.2 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.09311, allocations: 34.56 kB / 444.2 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/0.09314, allocations: 7.906 kB / 444.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.09329, allocations: 171 kB / 444.4 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.09331, allocations: 7.953 kB / 444.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.09333, allocations: 4 kB / 444.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.09358, allocations: 103.3 kB / 444.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.0936, allocations: 0 / 444.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.09361, allocations: 4 kB / 444.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.09362, allocations: 4 kB / 444.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.09369, allocations: 11.98 kB / 444.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.399e-05/0.09379, allocations: 157.6 kB / 444.7 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.09391, allocations: 50.56 kB / 444.8 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.09396, allocations: 32.81 kB / 444.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.09399, allocations: 0 / 444.8 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.09401, allocations: 34.56 kB / 444.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.09401, allocations: 0 / 444.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.00016/0.09418, allocations: 69.58 kB / 444.9 MB, free: 8.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.09422, allocations: 55.41 kB / 444.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.09427, allocations: 105.8 kB / 445 MB, free: 8.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.09429, allocations: 25.7 kB / 445.1 MB, free: 8.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.848e-05/0.09431, allocations: 84.12 kB / 445.2 MB, free: 7.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-06/0.09432, allocations: 8 kB / 445.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.09433, allocations: 3.938 kB / 445.2 MB, free: 7.938 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.09437, allocations: 314.8 kB / 445.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-06/0.09439, allocations: 0 / 445.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.09441, allocations: 35.42 kB / 445.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.531e-05/0.09443, allocations: 4 kB / 445.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09444, allocations: 0 / 445.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.754e-05/0.0945, allocations: 57.59 kB / 445.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.09452, allocations: 7.984 kB / 445.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.09452, allocations: 256 / 445.6 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.09454, allocations: 4 kB / 445.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.582e-05/0.09458, allocations: 15.88 kB / 445.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.09459, allocations: 4 kB / 445.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.09462, allocations: 0 / 445.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.09462, allocations: 0 / 445.6 MB, free: 7.477 MB / 282.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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.938e-05/0.09468, allocations: 117.8 kB / 445.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/0.09476, allocations: 61.55 kB / 445.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.09479, allocations: 7.5 kB / 445.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.09479, allocations: 3.984 kB / 445.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.0948, allocations: 0 / 445.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.09481, allocations: 3.938 kB / 445.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.899e-05/0.09486, allocations: 154 kB / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09487, allocations: 0 / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.09489, allocations: 0 / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.0949, allocations: 4 kB / 445.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.09491, allocations: 7.953 kB / 446 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.09491, allocations: 0 / 446 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09492, allocations: 0 / 446 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.207e-05/0.09501, allocations: 85.09 kB / 446 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.09504, allocations: 81.11 kB / 446.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.09505, allocations: 0 / 446.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.09508, allocations: 7.953 kB / 446.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.09509, allocations: 7.938 kB / 446.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.0951, allocations: 0 / 446.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.102e-05/0.09512, allocations: 83.27 kB / 446.2 MB, free: 6.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09513, allocations: 0 / 446.2 MB, free: 6.758 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.09531, allocations: 8 kB / 446.2 MB, free: 6.75 MB / 282.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0002348/0.09555, allocations: 0.6124 MB / 446.8 MB, free: 6.109 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.578e-05/0.09565, allocations: 27.92 kB / 446.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.09566, allocations: 0 / 446.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.09567, allocations: 0 / 446.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.09587, allocations: 31.72 kB / 446.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.09633, allocations: 381.3 kB / 447.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.09646, allocations: 0.6809 MB / 447.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.09648, allocations: 4 kB / 447.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.09651, allocations: 15.44 kB / 448 MB, free: 4.895 MB / 282.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09652, allocations: 0 / 448 MB, free: 4.895 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.1072, allocations: 1.033 MB / 449 MB, free: 3.875 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.1074, allocations: 217 kB / 449.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.552, allocations: 8 kB / 449.2 MB, free: 3.625 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat