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.002196/0.002195, allocations: 187.1 kB / 13.7 MB, free: 1.625 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.148/2.148, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001104/0.001104, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.09875/0.09875, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.777e-05, allocations: 4 kB / 386 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2981, allocations: 50.37 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.438, allocations: 78.44 MB / 0.5027 GB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/0.4385, allocations: 75.95 kB / 0.5028 GB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.4539, allocations: 3.253 MB / 0.506 GB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4539, allocations: 3.938 kB / 0.506 GB, free: 12.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.454, allocations: 4 kB / 0.506 GB, free: 12.27 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006462/0.4546, allocations: 386.1 kB / 0.5063 GB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4547, allocations: 8.031 kB / 0.5063 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.4547, allocations: 11.91 kB / 0.5064 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.4551, allocations: 194.9 kB / 0.5065 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.4551, allocations: 8 kB / 0.5066 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4551, allocations: 7.938 kB / 0.5066 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.4557, allocations: 199.7 kB / 0.5067 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4557, allocations: 0 / 0.5067 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4557, allocations: 8 kB / 0.5068 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.4557, allocations: 0 / 0.5068 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.4559, allocations: 35.88 kB / 0.5068 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.4564, allocations: 302.5 kB / 0.5071 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4566, allocations: 91.86 kB / 0.5072 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4568, allocations: 38.64 kB / 0.5072 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.4568, allocations: 15.97 kB / 0.5072 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4569, allocations: 34.5 kB / 0.5073 GB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.4569, allocations: 4 kB / 0.5073 GB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003374/0.4572, allocations: 105.5 kB / 0.5074 GB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.43e-05/0.4573, allocations: 110.8 kB / 0.5075 GB, free: 10.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4575, allocations: 128.8 kB / 0.5076 GB, free: 10.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4575, allocations: 25.7 kB / 0.5076 GB, free: 10.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.4576, allocations: 158.6 kB / 0.5078 GB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.4577, allocations: 11.89 kB / 0.5078 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.4577, allocations: 0 / 0.5078 GB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4578, allocations: 326.8 kB / 0.5081 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.4579, allocations: 16 kB / 0.5081 GB, free: 9.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.458, allocations: 85.38 kB / 0.5082 GB, free: 9.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.4581, allocations: 31.98 kB / 0.5082 GB, free: 9.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4581, allocations: 4 kB / 0.5082 GB, free: 9.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002887/0.4584, allocations: 117.3 kB / 0.5083 GB, free: 9.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.4585, allocations: 8 kB / 0.5083 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4585, allocations: 4 kB / 0.5083 GB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4585, allocations: 4 kB / 0.5083 GB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.4588, allocations: 24.33 kB / 0.5084 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4588, allocations: 7.938 kB / 0.5084 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.4589, allocations: 8 kB / 0.5084 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4589, allocations: 4 kB / 0.5084 GB, free: 9.492 MB / 362.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 () * 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.0001216/0.4591, allocations: 133.9 kB / 0.5085 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.4593, allocations: 85.53 kB / 0.5086 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.4594, allocations: 20.02 kB / 0.5086 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4594, allocations: 4 kB / 0.5086 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4594, allocations: 0 / 0.5086 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4594, allocations: 4 kB / 0.5086 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.4597, allocations: 189.5 kB / 0.5088 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4597, allocations: 0 / 0.5088 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.4599, allocations: 27.91 kB / 0.5088 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.46, allocations: 4 kB / 0.5088 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.46, allocations: 0 / 0.5088 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.46, allocations: 0 / 0.5088 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.46, allocations: 4 kB / 0.5088 GB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.4603, allocations: 228.5 kB / 0.5091 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4605, allocations: 101 kB / 0.5091 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.4605, allocations: 8.062 kB / 0.5092 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.4607, allocations: 12 kB / 0.5092 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.4607, allocations: 7.938 kB / 0.5092 GB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.4608, allocations: 11.94 kB / 0.5092 GB, free: 8.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.4609, allocations: 108 kB / 0.5093 GB, free: 8.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4609, allocations: 0 / 0.5093 GB, free: 8.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.4613, allocations: 16 kB / 0.5093 GB, free: 8.438 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * 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.0001453/0.4614, allocations: 95.25 kB / 0.5094 GB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4617, allocations: 67.86 kB / 0.5095 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4617, allocations: 0.6875 kB / 0.5095 GB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.4617, allocations: 8 kB / 0.5095 GB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4622, allocations: 51.89 kB / 0.5095 GB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.4627, allocations: 176.1 kB / 0.5097 GB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.4631, allocations: 0.7082 MB / 0.5104 GB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.4632, allocations: 11.44 kB / 0.5104 GB, free: 7.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4632, allocations: 4.062 kB / 0.5104 GB, free: 7.246 MB / 362.7 MB Notification: Performance of Templates: time 0.003815/0.467, allocations: 1.159 MB / 0.5115 GB, free: 6.086 MB / 362.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