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.001524/0.001524, allocations: 180.4 kB / 15.8 MB, free: 6.336 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.102/2.102, 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.001131/0.001131, allocations: 94.84 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.09692/0.09692, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005536, allocations: 12.22 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09565, allocations: 50.36 MB / 442.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.2388, allocations: 77.38 MB / 0.5077 GB, free: 13.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.2392, allocations: 79.95 kB / 0.5077 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002379/0.2416, allocations: 0.6957 MB / 0.5084 GB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2416, allocations: 4 kB / 0.5084 GB, free: 12.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2417, 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.0004361/0.2421, allocations: 339.5 kB / 0.5088 GB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.497e-05/0.2422, allocations: 8.031 kB / 0.5088 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.2423, allocations: 38.56 kB / 0.5088 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.2423, allocations: 7.906 kB / 0.5088 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2425, allocations: 167.1 kB / 0.509 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2426, allocations: 15.89 kB / 0.509 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2426, allocations: 4 kB / 0.509 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.243, allocations: 111.3 kB / 0.5091 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2431, allocations: 0 / 0.5091 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2431, allocations: 4 kB / 0.5091 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2431, allocations: 4 kB / 0.5091 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.2432, allocations: 23.92 kB / 0.5091 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.2434, allocations: 153.7 kB / 0.5093 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.2437, allocations: 66.5 kB / 0.5093 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2437, allocations: 3.938 kB / 0.5093 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.2438, allocations: 34.59 kB / 0.5094 GB, free: 11.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.2438, allocations: 0 / 0.5094 GB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003299/0.2441, allocations: 73.72 kB / 0.5094 GB, free: 11.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2442, allocations: 71.33 kB / 0.5095 GB, free: 11.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.2443, allocations: 93 kB / 0.5096 GB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2443, allocations: 25.7 kB / 0.5096 GB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.2444, allocations: 84.14 kB / 0.5097 GB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.113e-05/0.2444, allocations: 7.984 kB / 0.5097 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.2444, allocations: 0 / 0.5097 GB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2446, allocations: 310.8 kB / 0.51 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.2446, allocations: 7.938 kB / 0.51 GB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.2446, allocations: 35.61 kB / 0.51 GB, free: 10.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.2447, allocations: 7.984 kB / 0.51 GB, free: 10.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2447, allocations: 0 / 0.51 GB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001128/0.2448, allocations: 49.64 kB / 0.5101 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2449, allocations: 8.078 kB / 0.5101 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2449, allocations: 4 kB / 0.5101 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.2449, allocations: 7.984 kB / 0.5101 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.245, allocations: 11.94 kB / 0.5101 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.245, allocations: 4 kB / 0.5101 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.245, allocations: 0 / 0.5101 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.2451, allocations: 0 / 0.5101 GB, free: 10.58 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: 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 0.000101/0.2452, allocations: 113.6 kB / 0.5102 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.2454, allocations: 73.58 kB / 0.5103 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.2454, allocations: 7.859 kB / 0.5103 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2454, allocations: 0 / 0.5103 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2455, allocations: 3.938 kB / 0.5103 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.2455, allocations: 0 / 0.5103 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.2456, allocations: 153.7 kB / 0.5105 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2456, allocations: 0 / 0.5105 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.2457, allocations: 15.92 kB / 0.5105 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2457, allocations: 256 / 0.5105 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2458, allocations: 4 kB / 0.5105 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.2458, allocations: 15.95 kB / 0.5105 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2458, allocations: 0 / 0.5105 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.246, allocations: 85.11 kB / 0.5106 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.2461, allocations: 81.02 kB / 0.5107 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2461, allocations: 0 / 0.5107 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.2462, allocations: 8 kB / 0.5107 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.2462, allocations: 3.953 kB / 0.5107 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2462, allocations: 0 / 0.5107 GB, free: 9.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.502e-05/0.2463, allocations: 87.27 kB / 0.5108 GB, free: 9.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2463, allocations: 0 / 0.5108 GB, free: 9.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.2466, allocations: 4 kB / 0.5108 GB, free: 9.832 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: 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.000561/0.2471, allocations: 0.6202 MB / 0.5114 GB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.2473, allocations: 31.92 kB / 0.5114 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2473, allocations: 0 / 0.5114 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.2473, allocations: 0 / 0.5114 GB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2476, allocations: 35.89 kB / 0.5114 GB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.2486, allocations: 0.8249 MB / 0.5122 GB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2489, allocations: 0.6848 MB / 0.5129 GB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.2489, allocations: 0 / 0.5129 GB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.249, allocations: 15.44 kB / 0.5129 GB, free: 7.508 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.249, allocations: 0 / 0.5129 GB, free: 7.508 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.271, allocations: 1.018 MB / 0.5139 GB, free: 6.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/0.2715, allocations: 221.7 kB / 0.5141 GB, free: 6.246 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.596, allocations: 0 / 0.5141 GB, free: 6.246 MB / 362.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