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.002293/0.0023, allocations: 185.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.26/2.26, 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.00166/0.00166, allocations: 86.92 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.1569/0.1569, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005514, allocations: 15.64 kB / 392.1 MB, free: 54.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1139, allocations: 50.38 MB / 442.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001676/0.1156, allocations: 1.129 MB / 443.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.1158, allocations: 27.91 kB / 443.6 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1159, allocations: 4 kB / 443.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.116, allocations: 3.938 kB / 443.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.116, allocations: 3.938 kB / 443.7 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1163, allocations: 21.22 kB / 443.7 MB, free: 9.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.1164, allocations: 12 kB / 443.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.1165, allocations: 8.297 kB / 443.7 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/0.1165, allocations: 11.92 kB / 443.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.1166, allocations: 19.92 kB / 443.7 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1166, allocations: 0 / 443.7 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.1166, allocations: 0 / 443.7 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1166, allocations: 4 kB / 443.7 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.1167, allocations: 29.7 kB / 443.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.091e-05/0.1167, allocations: 14.78 kB / 443.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1168, allocations: 0 / 443.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1168, allocations: 0 / 443.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1168, allocations: 0 / 443.8 MB, free: 9.477 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.0003827/0.1172, allocations: 339.3 kB / 444.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1172, allocations: 8.031 kB / 444.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.1173, allocations: 34.56 kB / 444.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1173, allocations: 3.906 kB / 444.1 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1175, allocations: 179.8 kB / 444.3 MB, free: 8.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1175, allocations: 7.953 kB / 444.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1175, allocations: 3.984 kB / 444.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.118, allocations: 115.3 kB / 444.4 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.118, allocations: 3.938 kB / 444.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.118, allocations: 4 kB / 444.5 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.118, allocations: 4 kB / 444.5 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.1182, allocations: 19.97 kB / 444.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.1183, allocations: 161.5 kB / 444.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1185, allocations: 50.59 kB / 444.7 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.1186, allocations: 7.891 kB / 444.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1186, allocations: 46.59 kB / 444.7 MB, free: 8.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.1186, allocations: 0 / 444.7 MB, free: 8.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003427/0.1189, allocations: 73.7 kB / 444.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.119, allocations: 55.31 kB / 444.9 MB, free: 8.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.1191, allocations: 109.8 kB / 445 MB, free: 8.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1191, allocations: 25.7 kB / 445 MB, free: 8.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.1191, allocations: 80.14 kB / 445.1 MB, free: 7.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.1192, allocations: 8 kB / 445.1 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-06/0.1192, allocations: 4 kB / 445.1 MB, free: 7.945 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.1193, allocations: 314.8 kB / 445.4 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.1193, allocations: 8 kB / 445.4 MB, free: 7.621 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.1193, allocations: 23.44 kB / 445.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.1194, allocations: 12 kB / 445.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1194, allocations: 0 / 445.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.1195, allocations: 65.56 kB / 445.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1195, allocations: 7.953 kB / 445.5 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1195, allocations: 4 kB / 445.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1196, allocations: 0 / 445.5 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.1196, allocations: 7.984 kB / 445.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1196, allocations: 0 / 445.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.1197, allocations: 4 kB / 445.5 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1197, allocations: 4.125 kB / 445.5 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: 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 6.962e-05/0.1198, allocations: 121.6 kB / 445.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.12, allocations: 65.52 kB / 445.7 MB, free: 7.277 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.12, allocations: 11.45 kB / 445.7 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.12, allocations: 4 kB / 445.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.12, allocations: 0 / 445.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1201, allocations: 0 / 445.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.507e-05/0.1201, allocations: 157.7 kB / 445.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1201, allocations: 0 / 445.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1202, allocations: 8 kB / 445.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1202, allocations: 0 / 445.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1202, allocations: 0 / 445.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1202, allocations: 3.953 kB / 445.9 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1203, allocations: 240 / 445.9 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.1205, allocations: 93.03 kB / 446 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.1205, allocations: 85 kB / 446.1 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1206, allocations: 7.938 kB / 446.1 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.1206, allocations: 4 kB / 446.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-06/0.1206, allocations: 3.953 kB / 446.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1206, allocations: 4 kB / 446.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.75e-05/0.1207, allocations: 91.64 kB / 446.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1207, allocations: 0 / 446.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.121, allocations: 4 kB / 446.2 MB, free: 6.719 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.0005745/0.1216, allocations: 0.6359 MB / 446.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.1219, allocations: 27.98 kB / 446.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1219, allocations: 0 / 446.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1219, allocations: 0 / 446.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1222, allocations: 39.58 kB / 446.9 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.123, allocations: 0.8214 MB / 447.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.1231, allocations: 0.6887 MB / 448.4 MB, free: 4.391 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.1232, allocations: 3.906 kB / 448.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1232, allocations: 11.44 kB / 448.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1232, allocations: 4 kB / 448.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1473, allocations: 1.082 MB / 449.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.1477, allocations: 218.6 kB / 449.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.557, allocations: 4 kB / 449.7 MB, free: 3.051 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