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.001659/0.001659, allocations: 181 kB / 15.8 MB, free: 6.336 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.616/1.616, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001072/0.001072, allocations: 110.8 kB / 270.3 MB, free: 13.33 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.08141/0.08141, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003942, allocations: 12.28 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09514, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.2046, allocations: 78.52 MB / 0.5087 GB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.2049, allocations: 75.95 kB / 0.5088 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009214/0.2141, allocations: 3.268 MB / 0.5119 GB, free: 8.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2142, allocations: 0 / 0.5119 GB, free: 8.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2142, allocations: 4 kB / 0.5119 GB, free: 8.953 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.0006527/0.2149, allocations: 398.9 kB / 0.5123 GB, free: 8.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2149, allocations: 8.031 kB / 0.5123 GB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.215, allocations: 15.81 kB / 0.5124 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2153, allocations: 206.7 kB / 0.5125 GB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.2154, allocations: 8 kB / 0.5126 GB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2154, allocations: 4 kB / 0.5126 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.2159, allocations: 217.8 kB / 0.5128 GB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.216, allocations: 7.984 kB / 0.5128 GB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.216, allocations: 7.875 kB / 0.5128 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.216, allocations: 0 / 0.5128 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.2162, allocations: 51.95 kB / 0.5128 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.2167, allocations: 306.4 kB / 0.5131 GB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.2169, allocations: 95.83 kB / 0.5132 GB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.2169, allocations: 7.922 kB / 0.5132 GB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.217, allocations: 42.75 kB / 0.5133 GB, free: 7.402 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.217, allocations: 0 / 0.5133 GB, free: 7.402 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000447/0.2174, allocations: 145.9 kB / 0.5134 GB, free: 7.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.2176, allocations: 122.8 kB / 0.5135 GB, free: 7.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2177, allocations: 136.9 kB / 0.5136 GB, free: 6.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2178, allocations: 25.7 kB / 0.5137 GB, free: 6.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.2178, allocations: 92.05 kB / 0.5138 GB, free: 6.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.2178, allocations: 19.83 kB / 0.5138 GB, free: 6.824 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.2178, allocations: 4 kB / 0.5138 GB, free: 6.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.218, allocations: 318.8 kB / 0.5141 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.218, allocations: 23.98 kB / 0.5141 GB, free: 6.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.2181, allocations: 89.42 kB / 0.5142 GB, free: 6.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.049e-05/0.2182, allocations: 35.94 kB / 0.5142 GB, free: 6.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2182, allocations: 0 / 0.5142 GB, free: 6.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002163/0.2185, allocations: 137.4 kB / 0.5144 GB, free: 6.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2185, allocations: 6.969 kB / 0.5144 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2185, allocations: 4 kB / 0.5144 GB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2185, allocations: 4 kB / 0.5144 GB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2186, allocations: 31.92 kB / 0.5144 GB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2187, allocations: 7.984 kB / 0.5144 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.2187, allocations: 8.281 kB / 0.5144 GB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2188, allocations: 12 kB / 0.5144 GB, free: 6.109 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 () * 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.0001151/0.2189, allocations: 133.5 kB / 0.5146 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.2191, allocations: 101.5 kB / 0.5147 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.509e-05/0.2192, allocations: 12.31 kB / 0.5147 GB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2192, allocations: 4 kB / 0.5147 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2192, allocations: 0 / 0.5147 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2192, allocations: 0 / 0.5147 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2194, allocations: 197.4 kB / 0.5149 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2194, allocations: 0 / 0.5149 GB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.2195, allocations: 23.98 kB / 0.5149 GB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2195, allocations: 0 / 0.5149 GB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2196, allocations: 8 kB / 0.5149 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2196, allocations: 0 / 0.5149 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2196, allocations: 0 / 0.5149 GB, free: 5.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.2199, allocations: 264.3 kB / 0.5151 GB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.22, allocations: 101 kB / 0.5152 GB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.22, allocations: 0 / 0.5152 GB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.2201, allocations: 8 kB / 0.5152 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.2202, allocations: 4 kB / 0.5153 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.2202, allocations: 8.109 kB / 0.5153 GB, free: 5.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.06e-05/0.2203, allocations: 111.2 kB / 0.5154 GB, free: 5.035 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2203, allocations: 0 / 0.5154 GB, free: 5.035 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.2206, allocations: 16 kB / 0.5154 GB, free: 5.02 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 () * 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.0001356/0.2207, allocations: 111.1 kB / 0.5155 GB, free: 4.902 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.221, allocations: 80.47 kB / 0.5156 GB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.221, allocations: 4.062 kB / 0.5156 GB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.221, allocations: 11.98 kB / 0.5156 GB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.2214, allocations: 55.75 kB / 0.5156 GB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.2221, allocations: 263.2 kB / 0.5159 GB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.2225, allocations: 0.7082 MB / 0.5166 GB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.2225, allocations: 8.5 kB / 0.5166 GB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.2226, allocations: 19.42 kB / 0.5166 GB, free: 3.695 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2226, allocations: 0 / 0.5166 GB, free: 3.695 MB / 362.7 MB Notification: Performance of Templates: time 0.003446/0.2261, allocations: 0.8252 MB / 0.5174 GB, free: 2.875 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