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.00115/0.00115, allocations: 177.6 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.3 MB / 213.8 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 82.64 kB / 261.8 MB, free: 1.684 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.06805/0.06805, allocations: 12.59 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.482e-05, allocations: 4 kB / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2301, allocations: 50.37 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09732/0.3274, allocations: 77.76 MB / 0.4952 GB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.3277, allocations: 75.95 kB / 0.4953 GB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008656/0.3364, allocations: 3.239 MB / 0.4984 GB, free: 1.184 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3364, allocations: 4 kB / 0.4984 GB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3365, allocations: 0 / 0.4984 GB, free: 1.18 MB / 346.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.0004105/0.3369, allocations: 386.1 kB / 0.4988 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3369, allocations: 8.031 kB / 0.4988 GB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.337, allocations: 7.906 kB / 0.4988 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3372, allocations: 203.9 kB / 0.499 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3372, allocations: 0 / 0.499 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3372, allocations: 4 kB / 0.499 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001039/0.3373, allocations: 43.98 kB / 0.499 GB, free: 468 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.3376, allocations: 181.7 kB / 0.4992 GB, free: 264 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3377, allocations: 7.938 kB / 0.4992 GB, free: 256 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3377, allocations: 0 / 0.4992 GB, free: 256 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3377, allocations: 4 kB / 0.4992 GB, free: 252 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.338, allocations: 271 kB / 0.4995 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.3381, allocations: 83.8 kB / 0.4996 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.3382, allocations: 50.73 kB / 0.4996 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3382, allocations: 0 / 0.4996 GB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3383, allocations: 34.56 kB / 0.4996 GB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.3383, allocations: 4 kB / 0.4997 GB, free: 15.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002003/0.3385, allocations: 97.42 kB / 0.4997 GB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3386, allocations: 110.8 kB / 0.4999 GB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.3387, allocations: 127.2 kB / 0.5 GB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3387, allocations: 25.7 kB / 0.5 GB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3387, allocations: 92.12 kB / 0.5001 GB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3387, allocations: 7.906 kB / 0.5001 GB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3388, allocations: 3.969 kB / 0.5001 GB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3389, allocations: 330.8 kB / 0.5004 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.3389, allocations: 16 kB / 0.5004 GB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.339, allocations: 81.44 kB / 0.5005 GB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.339, allocations: 24 kB / 0.5005 GB, free: 14.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.339, allocations: 3.938 kB / 0.5005 GB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001405/0.3392, allocations: 105.5 kB / 0.5006 GB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3392, allocations: 4 kB / 0.5006 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3392, allocations: 4 kB / 0.5006 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3392, allocations: 4 kB / 0.5006 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3394, allocations: 31.86 kB / 0.5007 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3394, allocations: 7.984 kB / 0.5007 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.3394, allocations: 12.25 kB / 0.5007 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3395, allocations: 8 kB / 0.5007 GB, free: 14.55 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 6.902e-05/0.3395, allocations: 116.8 kB / 0.5008 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.3397, allocations: 85.47 kB / 0.5009 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.3397, allocations: 12.39 kB / 0.5009 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3397, allocations: 4 kB / 0.5009 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3397, allocations: 0 / 0.5009 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3397, allocations: 0 / 0.5009 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3399, allocations: 158.2 kB / 0.5011 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3399, allocations: 4 kB / 0.5011 GB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.34, allocations: 31.97 kB / 0.5011 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.34, allocations: 0 / 0.5011 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.34, allocations: 0 / 0.5011 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3401, allocations: 4 kB / 0.5011 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3401, allocations: 0 / 0.5011 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.3403, allocations: 228.7 kB / 0.5013 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.3403, allocations: 108.8 kB / 0.5014 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3404, allocations: 8 kB / 0.5014 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.3405, allocations: 4 kB / 0.5014 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.3405, allocations: 0 / 0.5014 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3405, allocations: 7.984 kB / 0.5014 GB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.729e-05/0.3406, allocations: 104 kB / 0.5015 GB, free: 13.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3406, allocations: 4 kB / 0.5015 GB, free: 13.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000244/0.3408, allocations: 15.95 kB / 0.5016 GB, free: 13.57 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 9.188e-05/0.3409, allocations: 91.25 kB / 0.5016 GB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3411, allocations: 59.88 kB / 0.5017 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3411, allocations: 0 / 0.5017 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.3411, allocations: 7.984 kB / 0.5017 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3414, allocations: 48.02 kB / 0.5018 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.3417, allocations: 142.3 kB / 0.5019 GB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.342, allocations: 0.708 MB / 0.5026 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.499e-05/0.342, allocations: 8.5 kB / 0.5026 GB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.342, allocations: 19.42 kB / 0.5026 GB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.342, allocations: 4 kB / 0.5026 GB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.002639/0.3447, allocations: 0.8015 MB / 0.5034 GB, free: 11.62 MB / 362.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