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-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.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.001537/0.001537, allocations: 186.1 kB / 16.44 MB, free: 5.672 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.939/1.939, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001129/0.001129, allocations: 86.91 kB / 270.9 MB, free: 8.371 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.1007/0.1007, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005673, allocations: 12 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09056, allocations: 50.36 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5382, allocations: 78.52 MB / 0.5087 GB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5386, allocations: 75.55 kB / 0.5087 GB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.5522, allocations: 3.274 MB / 0.5119 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5522, allocations: 0 / 0.5119 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.5523, allocations: 0 / 0.5119 GB, free: 11.62 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.0005122/0.5528, allocations: 396.7 kB / 0.5123 GB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5528, allocations: 7.812 kB / 0.5123 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.5529, allocations: 18.72 kB / 0.5123 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.5531, allocations: 212.5 kB / 0.5125 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.5532, allocations: 6 kB / 0.5125 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5532, allocations: 7.031 kB / 0.5125 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.5538, allocations: 214.3 kB / 0.5127 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5538, allocations: 3.969 kB / 0.5128 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5538, allocations: 3.875 kB / 0.5128 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.5539, allocations: 0 / 0.5128 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.5541, allocations: 52.88 kB / 0.5128 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.5546, allocations: 302.8 kB / 0.5131 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5548, allocations: 105.6 kB / 0.5132 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.5549, allocations: 3.938 kB / 0.5132 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.5549, allocations: 33.25 kB / 0.5132 GB, free: 10.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.5549, allocations: 3.875 kB / 0.5132 GB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005901/0.5555, allocations: 152.7 kB / 0.5134 GB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.5556, allocations: 113.8 kB / 0.5135 GB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.5557, allocations: 133.8 kB / 0.5136 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5558, allocations: 25.7 kB / 0.5136 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.5558, allocations: 157.8 kB / 0.5138 GB, free: 9.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.5558, allocations: 14.55 kB / 0.5138 GB, free: 9.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.5559, allocations: 2.875 kB / 0.5138 GB, free: 9.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.5559, allocations: 322.9 kB / 0.5141 GB, free: 9.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.556, allocations: 24.98 kB / 0.5141 GB, free: 9.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.5562, allocations: 87.75 kB / 0.5142 GB, free: 9.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.5563, allocations: 40.55 kB / 0.5143 GB, free: 9.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5563, allocations: 4 kB / 0.5143 GB, free: 9.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000299/0.5566, allocations: 124.9 kB / 0.5144 GB, free: 9.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5567, allocations: 3.812 kB / 0.5144 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.5567, allocations: 4.25 kB / 0.5144 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5567, allocations: 7.812 kB / 0.5144 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.5569, allocations: 30.23 kB / 0.5144 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5569, allocations: 3.844 kB / 0.5144 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.557, allocations: 15.47 kB / 0.5144 GB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.557, allocations: 7.312 kB / 0.5145 GB, free: 9.422 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.0001206/0.5572, allocations: 142.5 kB / 0.5146 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.5574, allocations: 97.52 kB / 0.5147 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/0.5575, allocations: 23.11 kB / 0.5147 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5575, allocations: 11.84 kB / 0.5147 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5575, allocations: 0 / 0.5147 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5576, allocations: 0 / 0.5147 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.5578, allocations: 183.8 kB / 0.5149 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5578, allocations: 3.656 kB / 0.5149 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.558, allocations: 22.83 kB / 0.5149 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.558, allocations: 3.5 kB / 0.5149 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.558, allocations: 0 / 0.5149 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.558, allocations: 0 / 0.5149 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.558, allocations: 3.688 kB / 0.5149 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.5584, allocations: 262.8 kB / 0.5152 GB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.5585, allocations: 96.09 kB / 0.5153 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.5586, allocations: 7.75 kB / 0.5153 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.5587, allocations: 11.67 kB / 0.5153 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.5588, allocations: 0 / 0.5153 GB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5588, allocations: 3.844 kB / 0.5153 GB, free: 8.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.788e-05/0.5589, allocations: 110.2 kB / 0.5154 GB, free: 8.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5589, allocations: 0 / 0.5154 GB, free: 8.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.5593, allocations: 22 kB / 0.5154 GB, free: 8.594 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.0001051/0.5594, allocations: 98.44 kB / 0.5155 GB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.5597, allocations: 88.3 kB / 0.5156 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5597, allocations: 3.938 kB / 0.5156 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.5598, allocations: 7.719 kB / 0.5156 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.5603, allocations: 58.66 kB / 0.5157 GB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.5609, allocations: 287.8 kB / 0.5159 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.5611, allocations: 0.7115 MB / 0.5166 GB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.5612, allocations: 14.38 kB / 0.5166 GB, free: 7.492 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5612, allocations: 0 / 0.5166 GB, free: 7.492 MB / 330.7 MB Notification: Performance of Templates: time 0.003399/0.5646, allocations: 1.147 MB / 0.5178 GB, free: 6.926 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