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: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 180.2 kB / 15.8 MB, free: 6.34 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.589/1.589, 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.0009925/0.0009924, allocations: 98.84 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.085/0.085, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004527, allocations: 18.69 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 50.36 MB / 442.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.2285, allocations: 77.37 MB / 0.5075 GB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.2288, allocations: 71.95 kB / 0.5076 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001751/0.2306, allocations: 0.7068 MB / 0.5083 GB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2306, allocations: 0 / 0.5083 GB, free: 12.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.2306, allocations: 8 kB / 0.5083 GB, free: 12.7 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.0003647/0.231, allocations: 344.1 kB / 0.5086 GB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2311, allocations: 8.031 kB / 0.5087 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2311, allocations: 7.906 kB / 0.5087 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2313, allocations: 175.1 kB / 0.5088 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2313, allocations: 3.953 kB / 0.5088 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.2313, allocations: 4 kB / 0.5088 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.2317, allocations: 111.3 kB / 0.5089 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2317, allocations: 3.938 kB / 0.5089 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2317, allocations: 4 kB / 0.5089 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2317, allocations: 0 / 0.5089 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.2318, allocations: 27.97 kB / 0.509 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.232, allocations: 153.6 kB / 0.5091 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.2321, allocations: 58.55 kB / 0.5092 GB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.2322, allocations: 11.98 kB / 0.5092 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.2322, allocations: 34.56 kB / 0.5092 GB, free: 11.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.226e-06/0.2322, allocations: 7.922 kB / 0.5092 GB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002382/0.2325, allocations: 69.72 kB / 0.5093 GB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.2325, allocations: 59.41 kB / 0.5094 GB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.2326, allocations: 101 kB / 0.5094 GB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2326, allocations: 29.7 kB / 0.5095 GB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.2327, allocations: 80.14 kB / 0.5096 GB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.2327, allocations: 4 kB / 0.5096 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.2327, allocations: 0 / 0.5096 GB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2328, allocations: 314.8 kB / 0.5099 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-06/0.2328, allocations: 4 kB / 0.5099 GB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.2328, allocations: 31.38 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.927e-05/0.2329, allocations: 8 kB / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2329, allocations: 0 / 0.5099 GB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.767e-05/0.233, allocations: 57.62 kB / 0.51 GB, free: 10.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.233, allocations: 7.953 kB / 0.51 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.233, allocations: 4 kB / 0.51 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.233, allocations: 128 / 0.51 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.2331, allocations: 12 kB / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2331, allocations: 3.938 kB / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.2331, allocations: 0 / 0.51 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2331, allocations: 11.92 kB / 0.51 GB, free: 10.75 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 7.225e-05/0.2332, allocations: 113.6 kB / 0.5101 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2333, allocations: 61.59 kB / 0.5102 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.2334, allocations: 15.86 kB / 0.5102 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2334, allocations: 0 / 0.5102 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2334, allocations: 0 / 0.5102 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2334, allocations: 3.984 kB / 0.5102 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.963e-05/0.2335, allocations: 157.6 kB / 0.5103 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2335, allocations: 4 kB / 0.5103 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.2335, allocations: 4 kB / 0.5103 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2335, allocations: 4 kB / 0.5103 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2336, allocations: 3.984 kB / 0.5103 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2336, allocations: 8.141 kB / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2336, allocations: 0 / 0.5104 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.2337, allocations: 85.12 kB / 0.5104 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2338, allocations: 89 kB / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2338, allocations: 0 / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.2338, allocations: 4 kB / 0.5105 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-06/0.2338, allocations: 3.953 kB / 0.5105 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.2338, allocations: 8 kB / 0.5105 GB, free: 10.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.881e-05/0.2339, allocations: 83.28 kB / 0.5106 GB, free: 10.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2339, allocations: 0 / 0.5106 GB, free: 10.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.2341, allocations: 4 kB / 0.5106 GB, free: 10.01 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.0001/0.2342, allocations: 95.23 kB / 0.5107 GB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.2343, allocations: 27.92 kB / 0.5107 GB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2343, allocations: 256 / 0.5107 GB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2343, allocations: 4 kB / 0.5107 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.2345, allocations: 27.7 kB / 0.5108 GB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.2348, allocations: 124.6 kB / 0.5109 GB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.235, allocations: 0.6848 MB / 0.5116 GB, free: 8.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.971e-05/0.2351, allocations: 8 kB / 0.5116 GB, free: 8.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.2351, allocations: 7.438 kB / 0.5116 GB, free: 8.977 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2351, allocations: 0 / 0.5116 GB, free: 8.977 MB / 362.7 MB Notification: Performance of Templates: time 0.002223/0.2373, allocations: 293 kB / 0.5118 GB, free: 8.699 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches