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.001803/0.001803, allocations: 180.7 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.597/1.597, 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.0009828/0.0009828, allocations: 102.8 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.08937/0.08937, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 17.56 kB / 392 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 50.36 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.2287, allocations: 78.35 MB / 0.5085 GB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.229, allocations: 83.94 kB / 0.5086 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005316/0.2343, allocations: 1.999 MB / 0.5105 GB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.088e-06/0.2343, allocations: 3.984 kB / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.2343, allocations: 3.938 kB / 0.5106 GB, free: 10.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004157/0.2348, allocations: 379 kB / 0.5109 GB, free: 9.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2348, allocations: 8.031 kB / 0.5109 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2349, allocations: 7.906 kB / 0.5109 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2351, allocations: 202.7 kB / 0.5111 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2351, allocations: 0 / 0.5111 GB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.2351, allocations: 4 kB / 0.5111 GB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.2354, allocations: 113.9 kB / 0.5112 GB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.2354, allocations: 4 kB / 0.5112 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2354, allocations: 0 / 0.5112 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2354, allocations: 0 / 0.5112 GB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.2355, allocations: 27.92 kB / 0.5113 GB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.2359, allocations: 282.6 kB / 0.5115 GB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.236, allocations: 69.3 kB / 0.5116 GB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.236, allocations: 7.984 kB / 0.5116 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2361, allocations: 38.56 kB / 0.5116 GB, free: 9.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2361, allocations: 0 / 0.5116 GB, free: 9.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002596/0.2363, allocations: 93.84 kB / 0.5117 GB, free: 8.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.2364, allocations: 106.8 kB / 0.5118 GB, free: 8.844 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2365, allocations: 128.8 kB / 0.512 GB, free: 8.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2365, allocations: 29.7 kB / 0.512 GB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.2366, allocations: 100 kB / 0.5121 GB, free: 8.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/0.2366, allocations: 0 / 0.5121 GB, free: 8.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.2366, allocations: 0 / 0.5121 GB, free: 8.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2367, allocations: 318.8 kB / 0.5124 GB, free: 8.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.161e-05/0.2368, allocations: 15.98 kB / 0.5124 GB, free: 8.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.2369, allocations: 43.36 kB / 0.5124 GB, free: 8.184 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.2369, allocations: 16 kB / 0.5125 GB, free: 8.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2369, allocations: 0 / 0.5125 GB, free: 8.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.2371, allocations: 73.52 kB / 0.5125 GB, free: 8.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2371, allocations: 4 kB / 0.5125 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2371, allocations: 0 / 0.5125 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2371, allocations: 4 kB / 0.5125 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.2372, allocations: 16.11 kB / 0.5126 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2372, allocations: 3.938 kB / 0.5126 GB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.2373, allocations: 7.938 kB / 0.5126 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2373, allocations: 4 kB / 0.5126 GB, free: 8.051 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: 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 9.291e-05/0.2374, allocations: 121.6 kB / 0.5127 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.2375, allocations: 57.53 kB / 0.5127 GB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.2375, allocations: 11.81 kB / 0.5127 GB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2375, allocations: 8 kB / 0.5128 GB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2375, allocations: 8.047 kB / 0.5128 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2375, allocations: 3.938 kB / 0.5128 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2377, allocations: 173.6 kB / 0.5129 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2377, allocations: 0 / 0.5129 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.2378, allocations: 15.98 kB / 0.5129 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2378, allocations: 0 / 0.5129 GB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2378, allocations: 4 kB / 0.513 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2378, allocations: 0 / 0.513 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2378, allocations: 0 / 0.513 GB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.238, allocations: 208.5 kB / 0.5132 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.2381, allocations: 93 kB / 0.5132 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2381, allocations: 4 kB / 0.5132 GB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.2382, allocations: 8 kB / 0.5133 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.2382, allocations: 3.984 kB / 0.5133 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2382, allocations: 4 kB / 0.5133 GB, free: 7.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.237e-05/0.2383, allocations: 107.2 kB / 0.5134 GB, free: 7.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2383, allocations: 0 / 0.5134 GB, free: 7.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002018/0.2385, allocations: 4 kB / 0.5134 GB, free: 7.113 MB / 362.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 0.0001096/0.2386, allocations: 99.23 kB / 0.5135 GB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.2388, allocations: 39.92 kB / 0.5135 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2388, allocations: 0 / 0.5135 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.2388, allocations: 8 kB / 0.5135 GB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2391, allocations: 31.7 kB / 0.5135 GB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.2394, allocations: 203.1 kB / 0.5137 GB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2397, allocations: 0.6964 MB / 0.5144 GB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.669e-05/0.2398, allocations: 12.17 kB / 0.5144 GB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.2398, allocations: 11.44 kB / 0.5144 GB, free: 5.953 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2398, allocations: 0 / 0.5144 GB, free: 5.953 MB / 362.7 MB Notification: Performance of Templates: time 0.002332/0.2421, allocations: 0.5229 MB / 0.5149 GB, free: 5.434 MB / 362.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/jenkins/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