Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009927/0.0009923, allocations: 171.9 kB / 16.8 MB, free: 5.031 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.521/1.521, allocations: 205.4 MB / 223 MB, free: 8.941 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.0008527/0.0008525, allocations: 78.38 kB / 271.3 MB, free: 8.246 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.08816/0.08816, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004444, allocations: 20 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09371/0.09417, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4494, allocations: 77.65 MB / 0.509 GB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4497, allocations: 76.41 kB / 0.5091 GB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002352/0.452, allocations: 1.065 MB / 0.5101 GB, free: 13.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4521, allocations: 1.969 kB / 0.5101 GB, free: 13.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4521, allocations: 3.906 kB / 0.5102 GB, free: 13.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002662/0.4524, allocations: 346.8 kB / 0.5105 GB, free: 12.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4524, allocations: 7.844 kB / 0.5105 GB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.4524, allocations: 8.688 kB / 0.5105 GB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.4526, allocations: 197.8 kB / 0.5107 GB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.4526, allocations: 4.281 kB / 0.5107 GB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.4526, allocations: 4.375 kB / 0.5107 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.4528, allocations: 93.95 kB / 0.5108 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4528, allocations: 192 / 0.5108 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4529, allocations: 3.938 kB / 0.5108 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4529, allocations: 0 / 0.5108 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.4529, allocations: 30.05 kB / 0.5108 GB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.4532, allocations: 255 kB / 0.5111 GB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.4533, allocations: 52.7 kB / 0.5111 GB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.4533, allocations: 20.53 kB / 0.5111 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.4533, allocations: 3.984 kB / 0.5111 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.4534, allocations: 34.44 kB / 0.5112 GB, free: 12.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4534, allocations: 0 / 0.5112 GB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001935/0.4536, allocations: 67.94 kB / 0.5112 GB, free: 12.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4536, allocations: 84.17 kB / 0.5113 GB, free: 11.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.4537, allocations: 133.8 kB / 0.5114 GB, free: 11.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.4537, allocations: 25.7 kB / 0.5115 GB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.4538, allocations: 86.92 kB / 0.5115 GB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.4538, allocations: 4.094 kB / 0.5116 GB, free: 11.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.4538, allocations: 4 kB / 0.5116 GB, free: 11.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.4538, allocations: 314.8 kB / 0.5119 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.4539, allocations: 15.58 kB / 0.5119 GB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.4539, allocations: 17.38 kB / 0.5119 GB, free: 11.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.454, allocations: 32.77 kB / 0.5119 GB, free: 11.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.454, allocations: 3.625 kB / 0.5119 GB, free: 11.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.773e-05/0.4541, allocations: 63.77 kB / 0.512 GB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4541, allocations: 4.812 kB / 0.512 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4541, allocations: 0 / 0.512 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4541, allocations: 8.047 kB / 0.512 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.4542, allocations: 7.688 kB / 0.512 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4542, allocations: 0 / 0.512 GB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.4542, allocations: 7.75 kB / 0.512 GB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4542, allocations: 0 / 0.512 GB, free: 11.31 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.48e-05/0.4543, allocations: 126 kB / 0.5121 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.4543, allocations: 37.36 kB / 0.5122 GB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.4544, allocations: 19.31 kB / 0.5122 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4544, allocations: 3.984 kB / 0.5122 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4544, allocations: 0 / 0.5122 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4544, allocations: 0 / 0.5122 GB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.4545, allocations: 163 kB / 0.5123 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4545, allocations: 4.719 kB / 0.5123 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.4546, allocations: 7.859 kB / 0.5124 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4546, allocations: 0 / 0.5124 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.4546, allocations: 0 / 0.5124 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4546, allocations: 3.969 kB / 0.5124 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4546, allocations: 0 / 0.5124 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.4547, allocations: 165.2 kB / 0.5125 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.4548, allocations: 99.88 kB / 0.5126 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.4548, allocations: 3.844 kB / 0.5126 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.4548, allocations: 4.016 kB / 0.5126 GB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.4549, allocations: 7.844 kB / 0.5126 GB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4549, allocations: 0 / 0.5126 GB, free: 10.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.4549, allocations: 108.2 kB / 0.5127 GB, free: 10.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4549, allocations: 0 / 0.5127 GB, free: 10.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.4551, allocations: 3.844 kB / 0.5127 GB, free: 10.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 6.509e-05/0.4552, allocations: 91 kB / 0.5128 GB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4554, allocations: 26.45 kB / 0.5128 GB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4554, allocations: 0 / 0.5128 GB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.4554, allocations: 15.61 kB / 0.5129 GB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4557, allocations: 15.44 kB / 0.5129 GB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.456, allocations: 154.8 kB / 0.513 GB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4561, allocations: 0.6808 MB / 0.5137 GB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.4561, allocations: 7.891 kB / 0.5137 GB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.4562, allocations: 7.438 kB / 0.5137 GB, free: 9.625 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4562, allocations: 0 / 0.5137 GB, free: 9.625 MB / 330.7 MB Notification: Performance of Templates: time 0.002071/0.4582, allocations: 397.3 kB / 0.5141 GB, free: 9.434 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches