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.001129/0.001129, allocations: 182.5 kB / 13.23 MB, free: 2.086 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.75/1.75, allocations: 205.2 MB / 219 MB, free: 9.199 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.0008893/0.0008895, allocations: 81.58 kB / 267.1 MB, free: 9.273 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.1025/0.1025, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.28e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08479/0.08483, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.3979, allocations: 78.26 MB / 0.5026 GB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.3982, allocations: 77.94 kB / 0.5026 GB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005283/0.4035, allocations: 1.991 MB / 0.5046 GB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4035, allocations: 0 / 0.5046 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4036, allocations: 0 / 0.5046 GB, free: 11.59 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.0003677/0.4039, allocations: 352.7 kB / 0.5049 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.404, allocations: 11.44 kB / 0.5049 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.404, allocations: 7.75 kB / 0.5049 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.4043, allocations: 205.2 kB / 0.5051 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4043, allocations: 0 / 0.5051 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4043, allocations: 7.828 kB / 0.5051 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.4045, allocations: 111 kB / 0.5053 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4046, allocations: 3.875 kB / 0.5053 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4046, allocations: 0 / 0.5053 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4046, allocations: 0 / 0.5053 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.4047, allocations: 18.44 kB / 0.5053 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.405, allocations: 281.5 kB / 0.5055 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.75e-05/0.4051, allocations: 70.3 kB / 0.5056 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.4052, allocations: 25.95 kB / 0.5056 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.4052, allocations: 6.422 kB / 0.5056 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4052, allocations: 34.5 kB / 0.5057 GB, free: 10.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.4052, allocations: 0 / 0.5057 GB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001746/0.4054, allocations: 66.36 kB / 0.5057 GB, free: 10.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4055, allocations: 109.3 kB / 0.5058 GB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.4056, allocations: 127.5 kB / 0.506 GB, free: 10.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.4056, allocations: 29.64 kB / 0.506 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.4056, allocations: 87.77 kB / 0.5061 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.4056, allocations: 6.562 kB / 0.5061 GB, free: 10.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.4057, allocations: 0 / 0.5061 GB, free: 10.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.921e-05/0.4057, allocations: 322.6 kB / 0.5064 GB, free: 9.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.4057, allocations: 3.875 kB / 0.5064 GB, free: 9.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.4058, allocations: 33.69 kB / 0.5064 GB, free: 9.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.4058, allocations: 14.75 kB / 0.5064 GB, free: 9.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4058, allocations: 0 / 0.5064 GB, free: 9.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.568e-05/0.4059, allocations: 67.67 kB / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4059, allocations: 3.969 kB / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4059, allocations: 0 / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4059, allocations: 3.875 kB / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.406, allocations: 10.38 kB / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.406, allocations: 0 / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.4061, allocations: 3.656 kB / 0.5065 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4061, allocations: 4 kB / 0.5065 GB, free: 9.711 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 () * 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 4.975e-05/0.4061, allocations: 120.5 kB / 0.5066 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.4062, allocations: 50.66 kB / 0.5067 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.4062, allocations: 13.45 kB / 0.5067 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4063, allocations: 0 / 0.5067 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4063, allocations: 0 / 0.5067 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4063, allocations: 3.906 kB / 0.5067 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.4064, allocations: 175.9 kB / 0.5069 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4064, allocations: 0 / 0.5069 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.4065, allocations: 18.42 kB / 0.5069 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4065, allocations: 0 / 0.5069 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.4065, allocations: 3.969 kB / 0.5069 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4065, allocations: 0 / 0.5069 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4065, allocations: 2.672 kB / 0.5069 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.4066, allocations: 194.3 kB / 0.5071 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.4067, allocations: 98.44 kB / 0.5072 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4067, allocations: 0 / 0.5072 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.4068, allocations: 10.31 kB / 0.5072 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.4068, allocations: 0 / 0.5072 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4068, allocations: 7.828 kB / 0.5072 GB, free: 9.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.272e-05/0.4069, allocations: 110.4 kB / 0.5073 GB, free: 8.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4069, allocations: 0 / 0.5073 GB, free: 8.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002249/0.4071, allocations: 7.875 kB / 0.5073 GB, free: 8.977 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 () * 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 9.559e-05/0.4072, allocations: 90.72 kB / 0.5074 GB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.237e-05/0.4073, allocations: 26.91 kB / 0.5074 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4073, allocations: 0 / 0.5074 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.4074, allocations: 7.219 kB / 0.5074 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4076, allocations: 28.69 kB / 0.5075 GB, free: 8.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.4078, allocations: 119.4 kB / 0.5076 GB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.408, allocations: 0.6945 MB / 0.5082 GB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.4081, allocations: 4.062 kB / 0.5083 GB, free: 8.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.4081, allocations: 7.438 kB / 0.5083 GB, free: 8.07 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4081, allocations: 3.844 kB / 0.5083 GB, free: 8.07 MB / 330.7 MB Notification: Performance of Templates: time 0.002237/0.4103, allocations: 0.5333 MB / 0.5088 GB, free: 7.996 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/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