Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 171.8 kB / 16.8 MB, free: 4.906 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.422/1.422, allocations: 205.4 MB / 223 MB, free: 9.016 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.0007735/0.0007735, allocations: 93 kB / 271.3 MB, free: 8.238 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.08216/0.08216, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004235, allocations: 16 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09351, allocations: 50.37 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4614, allocations: 78.38 MB / 0.5098 GB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4617, allocations: 75.5 kB / 0.5098 GB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004991/0.4667, allocations: 2.001 MB / 0.5118 GB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4667, allocations: 0 / 0.5118 GB, free: 12.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4668, allocations: 3.969 kB / 0.5118 GB, free: 12.69 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003543/0.4671, allocations: 370.2 kB / 0.5121 GB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4672, allocations: 15.47 kB / 0.5121 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.4672, allocations: 8.688 kB / 0.5122 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4674, allocations: 207.3 kB / 0.5124 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4674, allocations: 384 / 0.5124 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.4674, allocations: 7.969 kB / 0.5124 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.4677, allocations: 114.1 kB / 0.5125 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4677, allocations: 8.125 kB / 0.5125 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4677, allocations: 3.938 kB / 0.5125 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4677, allocations: 0 / 0.5125 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.4678, allocations: 25.42 kB / 0.5125 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4682, allocations: 288.3 kB / 0.5128 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.4683, allocations: 66.61 kB / 0.5128 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.4684, allocations: 37.66 kB / 0.5129 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.4684, allocations: 3.875 kB / 0.5129 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.4684, allocations: 34.5 kB / 0.5129 GB, free: 11.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4684, allocations: 0 / 0.5129 GB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002664/0.4687, allocations: 94.94 kB / 0.513 GB, free: 11.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.4687, allocations: 110.3 kB / 0.5131 GB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.4689, allocations: 142.3 kB / 0.5132 GB, free: 11.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.4689, allocations: 25.7 kB / 0.5133 GB, free: 11.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.4689, allocations: 93.09 kB / 0.5134 GB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.4689, allocations: 3.906 kB / 0.5134 GB, free: 11.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.4689, allocations: 3.938 kB / 0.5134 GB, free: 11.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.469, allocations: 322.3 kB / 0.5137 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.469, allocations: 10.77 kB / 0.5137 GB, free: 10.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.4691, allocations: 38.45 kB / 0.5137 GB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.4692, allocations: 50.52 kB / 0.5138 GB, free: 10.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4692, allocations: 3.844 kB / 0.5138 GB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/0.4693, allocations: 79.41 kB / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.4694, allocations: 3.656 kB / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4694, allocations: 3.984 kB / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4694, allocations: 3.875 kB / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.4695, allocations: 7.688 kB / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4695, allocations: 0 / 0.5139 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.4695, allocations: 7.781 kB / 0.5139 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4695, allocations: 7.828 kB / 0.5139 GB, free: 10.63 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: 0 () * 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.054e-05/0.4696, allocations: 125.4 kB / 0.514 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.4697, allocations: 56.66 kB / 0.5141 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.4697, allocations: 6.812 kB / 0.5141 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4697, allocations: 3.906 kB / 0.5141 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4697, allocations: 0 / 0.5141 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4697, allocations: 0 / 0.5141 GB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.4699, allocations: 176.8 kB / 0.5142 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4699, allocations: 4.078 kB / 0.5142 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.47, allocations: 14.69 kB / 0.5143 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.47, allocations: 7.891 kB / 0.5143 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.47, allocations: 4 kB / 0.5143 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.47, allocations: 0 / 0.5143 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.47, allocations: 3.938 kB / 0.5143 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.4702, allocations: 186.5 kB / 0.5144 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.4702, allocations: 92.91 kB / 0.5145 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4702, allocations: 7.922 kB / 0.5145 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.4703, allocations: 0 / 0.5145 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.4703, allocations: 3.906 kB / 0.5145 GB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4703, allocations: 0 / 0.5145 GB, free: 9.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.45e-05/0.4704, allocations: 112.5 kB / 0.5147 GB, free: 9.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4704, allocations: 0 / 0.5147 GB, free: 9.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.4706, allocations: 3.906 kB / 0.5147 GB, free: 9.879 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.604e-05/0.4707, allocations: 102.7 kB / 0.5148 GB, free: 9.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.4709, allocations: 30.52 kB / 0.5148 GB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4709, allocations: 0 / 0.5148 GB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.4709, allocations: 19.08 kB / 0.5148 GB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.4712, allocations: 34.8 kB / 0.5148 GB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.4716, allocations: 188.9 kB / 0.515 GB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4717, allocations: 0.697 MB / 0.5157 GB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.279e-05/0.4718, allocations: 7.891 kB / 0.5157 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.4718, allocations: 10.69 kB / 0.5157 GB, free: 8.867 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4718, allocations: 3.938 kB / 0.5157 GB, free: 8.863 MB / 330.7 MB Notification: Performance of Templates: time 0.002546/0.4743, allocations: 0.5332 MB / 0.5162 GB, free: 8.598 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches