Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001563/0.001563, allocations: 181.3 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.628/1.628, allocations: 205.2 MB / 219 MB, free: 9.137 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.0009148/0.000915, allocations: 90.59 kB / 267.1 MB, free: 9.266 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.0739/0.0739, allocations: 12.59 MB / 327.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.286e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08337/0.08342, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/0.3921, allocations: 78.42 MB / 0.5027 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.3923, allocations: 79.48 kB / 0.5028 GB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007694/0.4, allocations: 3.253 MB / 0.506 GB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4001, allocations: 0 / 0.506 GB, free: 11.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.4001, allocations: 0 / 0.506 GB, free: 11.51 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.0003367/0.4004, allocations: 392.1 kB / 0.5064 GB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4005, allocations: 7.688 kB / 0.5064 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.4005, allocations: 14.02 kB / 0.5064 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.4007, allocations: 197.6 kB / 0.5066 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4007, allocations: 7.219 kB / 0.5066 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.4007, allocations: 6.547 kB / 0.5066 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.4011, allocations: 203.2 kB / 0.5068 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4011, allocations: 0 / 0.5068 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4011, allocations: 3.438 kB / 0.5068 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4011, allocations: 7.844 kB / 0.5068 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.4012, allocations: 36.11 kB / 0.5068 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.4015, allocations: 301.2 kB / 0.5071 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.4016, allocations: 87.17 kB / 0.5072 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.4016, allocations: 47.89 kB / 0.5072 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.4017, allocations: 7.922 kB / 0.5072 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.255e-05/0.4017, allocations: 38.22 kB / 0.5073 GB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.4017, allocations: 0 / 0.5073 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.00019/0.4019, allocations: 106.4 kB / 0.5074 GB, free: 10.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4019, allocations: 109.9 kB / 0.5075 GB, free: 10.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.402, allocations: 127.1 kB / 0.5076 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.402, allocations: 25.7 kB / 0.5076 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.4021, allocations: 94.97 kB / 0.5077 GB, free: 9.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.4021, allocations: 11.06 kB / 0.5077 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4021, allocations: 0 / 0.5077 GB, free: 9.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.4022, allocations: 325.6 kB / 0.508 GB, free: 9.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.4022, allocations: 21.09 kB / 0.5081 GB, free: 9.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/0.4023, allocations: 76.05 kB / 0.5081 GB, free: 9.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.4023, allocations: 30.36 kB / 0.5082 GB, free: 9.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4023, allocations: 0 / 0.5082 GB, free: 9.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001338/0.4025, allocations: 122 kB / 0.5083 GB, free: 9.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4025, allocations: 11.77 kB / 0.5083 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4025, allocations: 3.688 kB / 0.5083 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4025, allocations: 3.625 kB / 0.5083 GB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4026, allocations: 30.77 kB / 0.5083 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4026, allocations: 4.094 kB / 0.5083 GB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.4027, allocations: 11.59 kB / 0.5083 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4027, allocations: 7.688 kB / 0.5084 GB, free: 9.469 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 () * 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 4.869e-05/0.4028, allocations: 124.2 kB / 0.5085 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4029, allocations: 94.2 kB / 0.5086 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.4029, allocations: 11.38 kB / 0.5086 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4029, allocations: 3.938 kB / 0.5086 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4029, allocations: 0 / 0.5086 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.403, allocations: 3.812 kB / 0.5086 GB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.4031, allocations: 190.9 kB / 0.5088 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4031, allocations: 0 / 0.5088 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.4032, allocations: 23.36 kB / 0.5088 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4032, allocations: 0 / 0.5088 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4032, allocations: 3.844 kB / 0.5088 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4032, allocations: 3.984 kB / 0.5088 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4032, allocations: 0 / 0.5088 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.4034, allocations: 236.3 kB / 0.509 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.4034, allocations: 103.9 kB / 0.5091 GB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.4035, allocations: 4 kB / 0.5091 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.4036, allocations: 15.11 kB / 0.5091 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4036, allocations: 3.984 kB / 0.5091 GB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4036, allocations: 11.77 kB / 0.5092 GB, free: 8.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.4037, allocations: 113.9 kB / 0.5093 GB, free: 8.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4037, allocations: 0 / 0.5093 GB, free: 8.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.4039, allocations: 15.12 kB / 0.5093 GB, free: 8.668 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 () * 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.0001029/0.404, allocations: 94.64 kB / 0.5094 GB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.4042, allocations: 64.62 kB / 0.5094 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4042, allocations: 0.6875 kB / 0.5094 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.4042, allocations: 7.812 kB / 0.5094 GB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4045, allocations: 50.02 kB / 0.5095 GB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.4048, allocations: 148.4 kB / 0.5096 GB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.405, allocations: 0.7141 MB / 0.5103 GB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.405, allocations: 8.281 kB / 0.5103 GB, free: 7.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.4051, allocations: 11.12 kB / 0.5103 GB, free: 7.707 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4051, allocations: 0 / 0.5103 GB, free: 7.707 MB / 330.7 MB Notification: Performance of Templates: time 0.002575/0.4076, allocations: 0.8424 MB / 0.5112 GB, free: 7.293 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches