Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_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.002334/0.002334, allocations: 180.2 kB / 13.23 MB, free: 2.086 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.255/2.255, allocations: 205.2 MB / 219 MB, free: 9.207 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.001115/0.001115, allocations: 84.48 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1555/0.1555, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.515e-05, allocations: 4 kB / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 50.38 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5566, allocations: 77.29 MB / 0.5017 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5569, allocations: 74.91 kB / 0.5018 GB, free: 11.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001996/0.5589, allocations: 0.6996 MB / 0.5025 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5589, allocations: 0 / 0.5025 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.559, allocations: 0 / 0.5025 GB, free: 11.66 MB / 330.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.0003756/0.5594, allocations: 331.6 kB / 0.5028 GB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.5594, allocations: 11.56 kB / 0.5028 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.5595, allocations: 30.56 kB / 0.5028 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.5596, allocations: 0 / 0.5028 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.5598, allocations: 187.4 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.5599, allocations: 3.953 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.5599, allocations: 7.156 kB / 0.503 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.5603, allocations: 86.5 kB / 0.5031 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5604, allocations: 0 / 0.5031 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.5604, allocations: 3.312 kB / 0.5031 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.5604, allocations: 0 / 0.5031 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.5605, allocations: 7.719 kB / 0.5031 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.5607, allocations: 157.4 kB / 0.5033 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.5609, allocations: 54.91 kB / 0.5033 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.561, allocations: 15.95 kB / 0.5033 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.5611, allocations: 6.25 kB / 0.5033 GB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5611, allocations: 41.97 kB / 0.5034 GB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.575e-06/0.5612, allocations: 0 / 0.5034 GB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002327/0.5614, allocations: 43.5 kB / 0.5034 GB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.5615, allocations: 51.41 kB / 0.5035 GB, free: 10.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5616, allocations: 102.6 kB / 0.5036 GB, free: 10.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5616, allocations: 29.14 kB / 0.5036 GB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.5617, allocations: 87.92 kB / 0.5037 GB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.5617, allocations: 0 / 0.5037 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.5617, allocations: 3.625 kB / 0.5037 GB, free: 10.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.5618, allocations: 313.7 kB / 0.504 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.5619, allocations: 3.844 kB / 0.504 GB, free: 10.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.562, allocations: 26.66 kB / 0.504 GB, free: 10.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.474e-05/0.562, allocations: 7.844 kB / 0.504 GB, free: 10.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.562, allocations: 0 / 0.504 GB, free: 10.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001604/0.5622, allocations: 65.5 kB / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5623, allocations: 3.906 kB / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5623, allocations: 0 / 0.5041 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.5623, allocations: 15.88 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5624, allocations: 3.844 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.5625, allocations: 4.547 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.5625, allocations: 4.625 kB / 0.5041 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5626, allocations: 0 / 0.5041 GB, free: 10.03 MB / 330.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 () * 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 8.853e-05/0.5627, allocations: 111.7 kB / 0.5042 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5628, allocations: 48.06 kB / 0.5043 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.5629, allocations: 10.3 kB / 0.5043 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5629, allocations: 3.938 kB / 0.5043 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5629, allocations: 4 kB / 0.5043 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.563, allocations: 0 / 0.5043 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.5631, allocations: 161.2 kB / 0.5044 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5631, allocations: 2.688 kB / 0.5044 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.5633, allocations: 7.5 kB / 0.5044 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5633, allocations: 4 kB / 0.5044 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5633, allocations: 7.016 kB / 0.5045 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.5634, allocations: 6.656 kB / 0.5045 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5634, allocations: 0 / 0.5045 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.5636, allocations: 74.52 kB / 0.5045 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.5637, allocations: 77.11 kB / 0.5046 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.5637, allocations: 0 / 0.5046 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-05/0.5638, allocations: 10.55 kB / 0.5046 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.5639, allocations: 0 / 0.5046 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5639, allocations: 0 / 0.5046 GB, free: 9.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.564, allocations: 86.47 kB / 0.5047 GB, free: 9.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.564, allocations: 7.875 kB / 0.5047 GB, free: 9.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000725/0.5647, allocations: 7.844 kB / 0.5047 GB, free: 9.414 MB / 330.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 () * 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.0005037/0.5652, allocations: 0.6121 MB / 0.5053 GB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.5654, allocations: 18.91 kB / 0.5053 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5654, allocations: 0 / 0.5053 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.5655, allocations: 256 / 0.5053 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.5658, allocations: 25.34 kB / 0.5054 GB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.5664, allocations: 96.14 kB / 0.5054 GB, free: 8.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.5666, allocations: 0.6822 MB / 0.5061 GB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.5666, allocations: 6.953 kB / 0.5061 GB, free: 8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.5667, allocations: 14.53 kB / 0.5061 GB, free: 7.996 MB / 330.7 MB Notification: Performance of SimCode: time 2.003e-06/0.5667, allocations: 0 / 0.5061 GB, free: 7.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.5895, allocations: 1.029 MB / 0.5071 GB, free: 7.711 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.5898, allocations: 178.3 kB / 0.5073 GB, free: 7.488 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.943, allocations: 4 kB / 0.5073 GB, free: 7.484 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat