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.001568/0.001568, allocations: 172.9 kB / 16.8 MB, free: 5.004 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.461/1.461, allocations: 205.4 MB / 223 MB, free: 9.016 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.0007637/0.0007637, allocations: 86.41 kB / 271.3 MB, free: 8.25 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.09087/0.09087, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004487, allocations: 16 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09609/0.09655, allocations: 50.38 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4371, allocations: 78.55 MB / 0.5099 GB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4374, allocations: 73.16 kB / 0.51 GB, free: 13.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008035/0.4455, allocations: 3.268 MB / 0.5132 GB, free: 12.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4455, allocations: 0 / 0.5132 GB, free: 12.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4456, allocations: 7.719 kB / 0.5132 GB, free: 12.25 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.0004058/0.446, allocations: 396.7 kB / 0.5136 GB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.446, allocations: 11.44 kB / 0.5136 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.4461, allocations: 12.56 kB / 0.5136 GB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.4462, allocations: 210.7 kB / 0.5138 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.4463, allocations: 7.812 kB / 0.5138 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.4463, allocations: 8.156 kB / 0.5138 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.4467, allocations: 220.8 kB / 0.514 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4468, allocations: 192 / 0.514 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4468, allocations: 7.938 kB / 0.514 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4468, allocations: 3.875 kB / 0.514 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.4469, allocations: 53.62 kB / 0.5141 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.4473, allocations: 298.2 kB / 0.5144 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4475, allocations: 105.3 kB / 0.5145 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4476, allocations: 57.34 kB / 0.5145 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.4476, allocations: 7.984 kB / 0.5145 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4476, allocations: 38.38 kB / 0.5146 GB, free: 11.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4477, allocations: 0 / 0.5146 GB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003706/0.448, allocations: 146.5 kB / 0.5147 GB, free: 10.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.4481, allocations: 117.8 kB / 0.5148 GB, free: 10.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4482, allocations: 141.9 kB / 0.515 GB, free: 10.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4482, allocations: 25.7 kB / 0.515 GB, free: 10.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.4483, allocations: 94.19 kB / 0.5151 GB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.4483, allocations: 14.84 kB / 0.5151 GB, free: 10.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.4483, allocations: 7.5 kB / 0.5151 GB, free: 10.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.4484, allocations: 322.6 kB / 0.5154 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.4484, allocations: 23.42 kB / 0.5154 GB, free: 10.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.4485, allocations: 88.34 kB / 0.5155 GB, free: 10.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.4486, allocations: 118.6 kB / 0.5156 GB, free: 10.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4486, allocations: 3.75 kB / 0.5156 GB, free: 10.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001827/0.4488, allocations: 144.6 kB / 0.5158 GB, free: 9.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4489, allocations: 7.828 kB / 0.5158 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4489, allocations: 3.719 kB / 0.5158 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4489, allocations: 3.812 kB / 0.5158 GB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.449, allocations: 26.98 kB / 0.5158 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.449, allocations: 3.719 kB / 0.5158 GB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.4491, allocations: 15.34 kB / 0.5158 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.4491, allocations: 7.781 kB / 0.5158 GB, free: 9.965 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 7.804e-05/0.4492, allocations: 140 kB / 0.516 GB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.4493, allocations: 98.12 kB / 0.516 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.4494, allocations: 17.94 kB / 0.5161 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4494, allocations: 3.875 kB / 0.5161 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4494, allocations: 3.938 kB / 0.5161 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.4494, allocations: 0 / 0.5161 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.4496, allocations: 195.2 kB / 0.5163 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4496, allocations: 0 / 0.5163 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.4497, allocations: 23.39 kB / 0.5163 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4497, allocations: 3.906 kB / 0.5163 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4497, allocations: 3.984 kB / 0.5163 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4497, allocations: 0 / 0.5163 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4497, allocations: 3.656 kB / 0.5163 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.45, allocations: 234.2 kB / 0.5165 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.45, allocations: 99.52 kB / 0.5166 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.45, allocations: 3 kB / 0.5166 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.4501, allocations: 7.594 kB / 0.5166 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.4502, allocations: 0 / 0.5166 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4502, allocations: 11.67 kB / 0.5166 GB, free: 9.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.4503, allocations: 101.4 kB / 0.5167 GB, free: 9.188 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4503, allocations: 3.875 kB / 0.5167 GB, free: 9.188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.4505, allocations: 22.81 kB / 0.5168 GB, free: 9.18 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 8.361e-05/0.4506, allocations: 94.58 kB / 0.5168 GB, free: 9.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.4508, allocations: 84.09 kB / 0.5169 GB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4508, allocations: 4.531 kB / 0.5169 GB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.4509, allocations: 14.83 kB / 0.5169 GB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.4513, allocations: 62.52 kB / 0.517 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.4517, allocations: 268.8 kB / 0.5173 GB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.4519, allocations: 0.7031 MB / 0.5179 GB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.761e-05/0.452, allocations: 8.422 kB / 0.518 GB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.452, allocations: 11.28 kB / 0.518 GB, free: 8.102 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.452, allocations: 0 / 0.518 GB, free: 8.102 MB / 330.7 MB Notification: Performance of Templates: time 0.002813/0.4548, allocations: 0.8503 MB / 0.5188 GB, free: 7.684 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/jenkins1/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