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.002354/0.002359, allocations: 190.5 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.3/2.3, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001157/0.001157, allocations: 102.8 kB / 270.3 MB, free: 13.34 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.1001/0.1001, allocations: 12.59 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005429, allocations: 13.94 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1189, allocations: 50.37 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002582/0.1216, allocations: 1.129 MB / 443.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.122, allocations: 108 kB / 443.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.1221, allocations: 0 / 443.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.1222, allocations: 0 / 443.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.1222, allocations: 0 / 443.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1226, allocations: 25.7 kB / 443.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1227, allocations: 15.92 kB / 443.8 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1229, allocations: 11.98 kB / 443.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.1229, allocations: 4 kB / 443.8 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.461e-05/0.123, allocations: 11.92 kB / 443.8 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.123, allocations: 4 kB / 443.8 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.1231, allocations: 0 / 443.8 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.1231, allocations: 4 kB / 443.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.1232, allocations: 33.64 kB / 443.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.687e-05/0.1233, allocations: 12.53 kB / 443.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1233, allocations: 0 / 443.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1233, allocations: 0 / 443.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1233, allocations: 0 / 443.8 MB, free: 9.438 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.0004738/0.1238, allocations: 339.5 kB / 444.2 MB, free: 9.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.1239, allocations: 15.97 kB / 444.2 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.124, allocations: 34.56 kB / 444.2 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.124, allocations: 7.906 kB / 444.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1242, allocations: 171.1 kB / 444.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.1243, allocations: 3.953 kB / 444.4 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1243, allocations: 8 kB / 444.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.1248, allocations: 107.2 kB / 444.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1249, allocations: 0 / 444.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1249, allocations: 0 / 444.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1249, allocations: 4 kB / 444.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1251, allocations: 15.98 kB / 444.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1253, allocations: 157.6 kB / 444.7 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1256, allocations: 50.56 kB / 444.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1256, allocations: 3.953 kB / 444.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1257, allocations: 42.66 kB / 444.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.1257, allocations: 0 / 444.8 MB, free: 8.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003751/0.1261, allocations: 65.59 kB / 444.8 MB, free: 8.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1261, allocations: 55.41 kB / 444.9 MB, free: 8.184 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.1263, allocations: 101.8 kB / 445 MB, free: 8.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1263, allocations: 29.7 kB / 445 MB, free: 8.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.1263, allocations: 84.14 kB / 445.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.1264, allocations: 0 / 445.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1264, allocations: 0 / 445.1 MB, free: 7.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.1265, allocations: 318.8 kB / 445.4 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.1265, allocations: 4 kB / 445.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.32e-05/0.1266, allocations: 31.38 kB / 445.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.1267, allocations: 8 kB / 445.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1267, allocations: 0 / 445.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.1268, allocations: 53.62 kB / 445.5 MB, free: 7.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1269, allocations: 7.953 kB / 445.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1269, allocations: 8.125 kB / 445.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1269, allocations: 0 / 445.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.662e-05/0.127, allocations: 4 kB / 445.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.127, allocations: 3.938 kB / 445.5 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.1271, allocations: 3.984 kB / 445.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1271, allocations: 7.938 kB / 445.5 MB, free: 7.484 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 9.941e-05/0.1272, allocations: 117.6 kB / 445.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.1275, allocations: 57.86 kB / 445.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.1275, allocations: 15.45 kB / 445.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1276, allocations: 0 / 445.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1276, allocations: 0 / 445.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1276, allocations: 0 / 445.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1277, allocations: 157.7 kB / 445.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1277, allocations: 0 / 445.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.1278, allocations: 4 kB / 445.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1278, allocations: 3.938 kB / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1279, allocations: 0 / 445.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1279, allocations: 4.203 kB / 445.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1279, allocations: 3.938 kB / 445.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1281, allocations: 85.12 kB / 446 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.1282, allocations: 85.09 kB / 446.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1282, allocations: 0 / 446.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.1283, allocations: 0 / 446.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-06/0.1283, allocations: 3.953 kB / 446.1 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1284, allocations: 4 kB / 446.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.1284, allocations: 87.28 kB / 446.2 MB, free: 6.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.1285, allocations: 0 / 446.2 MB, free: 6.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004492/0.1289, allocations: 0 / 446.2 MB, free: 6.762 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.0005101/0.1295, allocations: 0.6201 MB / 446.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1297, allocations: 23.92 kB / 446.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1297, allocations: 0 / 446.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.1297, allocations: 0 / 446.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.13, allocations: 31.66 kB / 446.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009656/0.131, allocations: 0.8144 MB / 447.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.1312, allocations: 0.6848 MB / 448.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.1313, allocations: 4 kB / 448.3 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.1314, allocations: 11.44 kB / 448.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1314, allocations: 0 / 448.3 MB, free: 4.457 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.1526, allocations: 1.022 MB / 449.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/0.153, allocations: 214.6 kB / 449.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/2.615, allocations: 4 kB / 449.6 MB, free: 3.195 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