Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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/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/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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001978/0.001978, allocations: 181.3 kB / 17.46 MB, free: 4.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.998/2.998, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001208/0.001208, allocations: 85.05 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1544/0.1544, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00078/0.0007805, allocations: 12 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1557, allocations: 50.3 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5952/0.751, allocations: 78.5 MB / 0.5093 GB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/0.7515, allocations: 86.78 kB / 0.5094 GB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01867/0.7702, allocations: 3.748 MB / 0.513 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.99e-06/0.7702, allocations: 3.656 kB / 0.513 GB, free: 11.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.7703, allocations: 0 / 0.513 GB, free: 11.8 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007047/0.771, allocations: 403.7 kB / 0.5134 GB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/0.7711, allocations: 11.56 kB / 0.5134 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.7712, allocations: 16.66 kB / 0.5134 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.7715, allocations: 210.2 kB / 0.5136 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.7716, allocations: 4.219 kB / 0.5137 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.7716, allocations: 11.31 kB / 0.5137 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008501/0.7725, allocations: 224 kB / 0.5139 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.7725, allocations: 192 / 0.5139 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.7726, allocations: 3.938 kB / 0.5139 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.7726, allocations: 3.875 kB / 0.5139 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.7729, allocations: 64.83 kB / 0.5139 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.7735, allocations: 290.6 kB / 0.5142 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.7738, allocations: 112.1 kB / 0.5143 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.774, allocations: 55.45 kB / 0.5144 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.591e-05/0.7741, allocations: 7.859 kB / 0.5144 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.7742, allocations: 38.5 kB / 0.5144 GB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.7742, allocations: 0 / 0.5144 GB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007265/0.7749, allocations: 154.2 kB / 0.5146 GB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/0.775, allocations: 117.6 kB / 0.5147 GB, free: 10.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.7752, allocations: 145.9 kB / 0.5148 GB, free: 10.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.7752, allocations: 25.7 kB / 0.5148 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.7753, allocations: 91.73 kB / 0.5149 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.7754, allocations: 15.27 kB / 0.515 GB, free: 10.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7754, allocations: 3.938 kB / 0.515 GB, free: 10.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.7755, allocations: 318.6 kB / 0.5153 GB, free: 9.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.7756, allocations: 19.11 kB / 0.5153 GB, free: 9.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.7757, allocations: 96.42 kB / 0.5154 GB, free: 9.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.776, allocations: 118 kB / 0.5155 GB, free: 9.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.776, allocations: 0 / 0.5155 GB, free: 9.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003698/0.7764, allocations: 146.1 kB / 0.5156 GB, free: 9.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.7765, allocations: 4.75 kB / 0.5156 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7765, allocations: 3.875 kB / 0.5156 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.7765, allocations: 3.969 kB / 0.5156 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.7767, allocations: 23.27 kB / 0.5157 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.7768, allocations: 7.781 kB / 0.5157 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.7769, allocations: 11.09 kB / 0.5157 GB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.7769, allocations: 7.688 kB / 0.5157 GB, free: 9.504 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000157/0.7771, allocations: 136.3 kB / 0.5158 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.7774, allocations: 103.1 kB / 0.5159 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.7775, allocations: 19.3 kB / 0.5159 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.7776, allocations: 0 / 0.5159 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.7776, allocations: 3.875 kB / 0.5159 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7776, allocations: 0 / 0.5159 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.7779, allocations: 191.6 kB / 0.5161 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7779, allocations: 3.938 kB / 0.5161 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.7781, allocations: 27.3 kB / 0.5161 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.7782, allocations: 0 / 0.5161 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.7782, allocations: 11.25 kB / 0.5162 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7782, allocations: 0 / 0.5162 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7782, allocations: 0 / 0.5162 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.7787, allocations: 228.9 kB / 0.5164 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.69e-05/0.7788, allocations: 99.56 kB / 0.5165 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.7789, allocations: 6.938 kB / 0.5165 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.7791, allocations: 7.859 kB / 0.5165 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.7792, allocations: 3.938 kB / 0.5165 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.7792, allocations: 6.594 kB / 0.5165 GB, free: 8.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.7793, allocations: 110.3 kB / 0.5166 GB, free: 8.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7793, allocations: 0 / 0.5166 GB, free: 8.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.7798, allocations: 15.22 kB / 0.5166 GB, free: 8.715 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001596/0.78, allocations: 94.84 kB / 0.5167 GB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.7804, allocations: 86.11 kB / 0.5168 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7804, allocations: 0 / 0.5168 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.7805, allocations: 7.781 kB / 0.5168 GB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.7813, allocations: 66.25 kB / 0.5169 GB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.7821, allocations: 290.4 kB / 0.5171 GB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.7823, allocations: 0.7071 MB / 0.5178 GB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.7824, allocations: 11.22 kB / 0.5178 GB, free: 7.617 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7824, allocations: 7.875 kB / 0.5178 GB, free: 7.609 MB / 330.7 MB Notification: Performance of Templates: time 0.004697/0.7871, allocations: 1.173 MB / 0.519 GB, free: 7.023 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches