Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_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.001582/0.001586, allocations: 181.6 kB / 15.8 MB, free: 6.316 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.12/2.12, 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.00111/0.001111, allocations: 98.81 kB / 270.3 MB, free: 13.37 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.09596/0.09596, allocations: 12.61 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005563/0.0005564, allocations: 15.41 kB / 392.1 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09432, allocations: 50.37 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.2655, allocations: 77.33 MB / 0.5076 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/0.266, allocations: 83.89 kB / 0.5077 GB, free: 13.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003637/0.2696, allocations: 0.762 MB / 0.5084 GB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2697, allocations: 0 / 0.5084 GB, free: 12.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.2697, allocations: 0 / 0.5084 GB, free: 12.57 MB / 362.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.0005941/0.2703, allocations: 351.5 kB / 0.5088 GB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.2704, allocations: 8.031 kB / 0.5088 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.2705, allocations: 38.55 kB / 0.5088 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.2706, allocations: 7.906 kB / 0.5088 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2708, allocations: 178.9 kB / 0.509 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.2709, allocations: 11.95 kB / 0.509 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2709, allocations: 0 / 0.509 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.2716, allocations: 123.3 kB / 0.5091 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2717, allocations: 0 / 0.5091 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.2717, allocations: 3.984 kB / 0.5091 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2717, allocations: 0 / 0.5091 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.272, allocations: 23.98 kB / 0.5092 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.2723, allocations: 157.7 kB / 0.5093 GB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.2727, allocations: 66.47 kB / 0.5094 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2727, allocations: 7.953 kB / 0.5094 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2727, allocations: 30.56 kB / 0.5094 GB, free: 11.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.2728, allocations: 0 / 0.5094 GB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000576/0.2734, allocations: 85.73 kB / 0.5095 GB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.2734, allocations: 55.34 kB / 0.5095 GB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2736, allocations: 101 kB / 0.5096 GB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.2736, allocations: 25.7 kB / 0.5097 GB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.2737, allocations: 84.14 kB / 0.5097 GB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2737, allocations: 7.938 kB / 0.5097 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.2738, allocations: 0 / 0.5097 GB, free: 11.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.274, allocations: 322.8 kB / 0.5101 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.274, allocations: 0 / 0.5101 GB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.2741, allocations: 31.44 kB / 0.5101 GB, free: 10.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.2742, allocations: 12 kB / 0.5101 GB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2742, allocations: 0 / 0.5101 GB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001866/0.2744, allocations: 65.47 kB / 0.5102 GB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.2744, allocations: 7.953 kB / 0.5102 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.2745, allocations: 0 / 0.5102 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.2745, allocations: 4 kB / 0.5102 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2746, allocations: 8 kB / 0.5102 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2747, allocations: 7.922 kB / 0.5102 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.2747, allocations: 128 / 0.5102 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2748, allocations: 12 kB / 0.5102 GB, free: 10.53 MB / 362.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 0.0001328/0.2749, allocations: 113.6 kB / 0.5103 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.2753, allocations: 69.61 kB / 0.5104 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.2753, allocations: 7.859 kB / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2754, allocations: 0 / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2754, allocations: 0 / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2754, allocations: 0 / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2756, allocations: 157.7 kB / 0.5105 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2756, allocations: 0 / 0.5105 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.2757, allocations: 15.98 kB / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2758, allocations: 384 / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.2758, allocations: 8 kB / 0.5106 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.2758, allocations: 11.89 kB / 0.5106 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2758, allocations: 0 / 0.5106 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.2762, allocations: 92.95 kB / 0.5107 GB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.2763, allocations: 81.11 kB / 0.5107 GB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.2764, allocations: 0 / 0.5107 GB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.2765, allocations: 11.98 kB / 0.5107 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-06/0.2765, allocations: 3.953 kB / 0.5107 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2765, allocations: 0 / 0.5107 GB, free: 9.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.2766, allocations: 83.28 kB / 0.5108 GB, free: 9.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.2766, allocations: 0 / 0.5108 GB, free: 9.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004401/0.2771, allocations: 4 kB / 0.5108 GB, free: 9.777 MB / 362.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.001047/0.2781, allocations: 0.6478 MB / 0.5115 GB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.2784, allocations: 35.95 kB / 0.5115 GB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2784, allocations: 0 / 0.5115 GB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.003e-06/0.2785, allocations: 0 / 0.5115 GB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.2789, allocations: 43.61 kB / 0.5115 GB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.2803, allocations: 0.8292 MB / 0.5123 GB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.2807, allocations: 0.6926 MB / 0.513 GB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.2808, allocations: 0 / 0.513 GB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.2809, allocations: 19.42 kB / 0.513 GB, free: 7.398 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2809, allocations: 0 / 0.513 GB, free: 7.398 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.3042, allocations: 1.129 MB / 0.5141 GB, free: 6.281 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/0.3047, allocations: 215.7 kB / 0.5144 GB, free: 6.031 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.572, allocations: 0 / 0.5144 GB, free: 6.031 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat