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.001318/0.001318, allocations: 174.7 kB / 15.81 MB, free: 6.281 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.643/1.643, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008429/0.000843, allocations: 98.22 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.07529/0.07529, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004233, allocations: 10.53 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0856/0.08606, allocations: 50.38 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001396/0.0875, allocations: 1.125 MB / 443.6 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.08776, allocations: 44.16 kB / 443.7 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.08786, allocations: 0 / 443.7 MB, free: 9.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.992e-05/0.0879, allocations: 4 kB / 443.7 MB, free: 9.648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.08795, allocations: 3.938 kB / 443.7 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.08822, allocations: 19.97 kB / 443.7 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.425e-05/0.0883, allocations: 19.94 kB / 443.7 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.0884, allocations: 7.984 kB / 443.7 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.08845, allocations: 11.94 kB / 443.7 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.0885, allocations: 11.92 kB / 443.7 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.08852, allocations: 0 / 443.7 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.08854, allocations: 4 kB / 443.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.08856, allocations: 4 kB / 443.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.08859, allocations: 33.64 kB / 443.8 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.334e-05/0.08866, allocations: 24.45 kB / 443.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.08867, allocations: 4 kB / 443.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.08868, allocations: 0 / 443.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.0887, allocations: 0 / 443.8 MB, free: 9.5 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.0003684/0.08907, allocations: 331.5 kB / 444.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.08912, allocations: 12.03 kB / 444.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.08916, allocations: 34.56 kB / 444.2 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.0892, allocations: 7.906 kB / 444.2 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.08936, allocations: 167.1 kB / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.0894, allocations: 11.95 kB / 444.4 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.08941, allocations: 4 kB / 444.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.08974, allocations: 119.2 kB / 444.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.08976, allocations: 3.984 kB / 444.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.08978, allocations: 0 / 444.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.08979, allocations: 0 / 444.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.0899, allocations: 27.97 kB / 444.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.09002, allocations: 153.7 kB / 444.7 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.09015, allocations: 54.55 kB / 444.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.09022, allocations: 28.88 kB / 444.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.09024, allocations: 0 / 444.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.09026, allocations: 34.5 kB / 444.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.09027, allocations: 0 / 444.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002396/0.09052, allocations: 73.67 kB / 444.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.09056, allocations: 63.31 kB / 444.9 MB, free: 8.199 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.09062, allocations: 109.8 kB / 445 MB, free: 8.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.09063, allocations: 25.7 kB / 445 MB, free: 8.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.09066, allocations: 80.14 kB / 445.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.09067, allocations: 0 / 445.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.09068, allocations: 0 / 445.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.492e-05/0.09073, allocations: 322.8 kB / 445.4 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.09074, allocations: 4 kB / 445.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.09077, allocations: 35.38 kB / 445.5 MB, free: 7.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.0908, allocations: 11.98 kB / 445.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.0908, allocations: 0 / 445.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.888e-05/0.09088, allocations: 61.62 kB / 445.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.0909, allocations: 4 kB / 445.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.09091, allocations: 3.984 kB / 445.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.09093, allocations: 4 kB / 445.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.09099, allocations: 7.938 kB / 445.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.091, allocations: 0 / 445.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.09102, allocations: 0 / 445.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.09103, allocations: 8 kB / 445.6 MB, free: 7.488 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: 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 5.344e-05/0.09109, allocations: 121.6 kB / 445.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.09122, allocations: 73.53 kB / 445.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.09124, allocations: 3.5 kB / 445.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09125, allocations: 0 / 445.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.09126, allocations: 0 / 445.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.09127, allocations: 0 / 445.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.398e-05/0.09133, allocations: 157.7 kB / 445.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.09133, allocations: 0 / 445.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.09137, allocations: 7.938 kB / 445.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.09138, allocations: 0 / 445.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.09139, allocations: 7.953 kB / 445.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.0914, allocations: 4 kB / 445.9 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0914, allocations: 4.547 kB / 446 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.09154, allocations: 97.08 kB / 446 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.09157, allocations: 81.02 kB / 446.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.09159, allocations: 4 kB / 446.1 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.09163, allocations: 7.953 kB / 446.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-06/0.09164, allocations: 0 / 446.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.09166, allocations: 0 / 446.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.769e-05/0.09169, allocations: 91.27 kB / 446.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09169, allocations: 0 / 446.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.09188, allocations: 4 kB / 446.2 MB, free: 6.73 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: 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.0003731/0.09226, allocations: 0.6359 MB / 446.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.09239, allocations: 32.17 kB / 446.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0924, allocations: 0 / 446.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-07/0.09241, allocations: 0 / 446.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.09264, allocations: 35.69 kB / 446.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.09308, allocations: 385.1 kB / 447.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.03e-05/0.09319, allocations: 0.6848 MB / 448 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.377e-05/0.09321, allocations: 0 / 448 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.09324, allocations: 15.44 kB / 448 MB, free: 4.84 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.09325, allocations: 0 / 448 MB, free: 4.84 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009929/0.1032, allocations: 1.1 MB / 449.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.1034, allocations: 217 kB / 449.3 MB, free: 3.512 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.642, allocations: 8 kB / 449.3 MB, free: 3.504 MB / 282.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