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.001183/0.001183, allocations: 180.8 kB / 16.45 MB, free: 5.551 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.622/1.622, allocations: 205.4 MB / 222.6 MB, free: 9.129 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.0007997/0.0007998, allocations: 84.98 kB / 270.9 MB, free: 8.375 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.08667/0.08667, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 16 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09321, allocations: 50.38 MB / 442.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001404/0.09465, allocations: 1.293 MB / 443.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.09543, allocations: 0.5818 MB / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.09553, allocations: 3.938 kB / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.09557, allocations: 0 / 444.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.09582, allocations: 31.84 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.09606, allocations: 63.81 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.548e-05/0.09616, allocations: 63.78 kB / 444.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.09626, allocations: 24.2 kB / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.09634, allocations: 23.92 kB / 444.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.0964, allocations: 39.77 kB / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.09643, allocations: 0 / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.09645, allocations: 4 kB / 444.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.09649, allocations: 11.98 kB / 444.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.09653, allocations: 41.64 kB / 444.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.248e-05/0.09661, allocations: 47.91 kB / 444.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09661, allocations: 0 / 444.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.09662, allocations: 4 kB / 444.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.09665, allocations: 0 / 444.6 MB, free: 14.22 MB / 298.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.0004703/0.09712, allocations: 395.2 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.09717, allocations: 11.97 kB / 445 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.09721, allocations: 15.81 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.09738, allocations: 206.7 kB / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.09741, allocations: 4 kB / 445.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.09744, allocations: 12 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.09787, allocations: 223.1 kB / 445.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.0979, allocations: 4 kB / 445.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.09791, allocations: 4 kB / 445.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09792, allocations: 0 / 445.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.09809, allocations: 51.95 kB / 445.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.09838, allocations: 302.4 kB / 445.8 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.09855, allocations: 99.89 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.09866, allocations: 50.62 kB / 445.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.0987, allocations: 8 kB / 446 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.09872, allocations: 34.55 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.09873, allocations: 4 kB / 446 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003833/0.09912, allocations: 149.4 kB / 446.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.09918, allocations: 111.4 kB / 446.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.09928, allocations: 153.5 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.09929, allocations: 25.7 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.09933, allocations: 95.98 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.09935, allocations: 11.89 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.09936, allocations: 4 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.09942, allocations: 326.8 kB / 446.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.09948, allocations: 23.98 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.09955, allocations: 89.38 kB / 447 MB, free: 11.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.672e-05/0.09963, allocations: 35.98 kB / 447 MB, free: 11.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.09963, allocations: 0 / 447 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001861/0.09983, allocations: 141.3 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.09985, allocations: 4 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.09986, allocations: 4 kB / 447.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.09988, allocations: 4 kB / 447.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1, allocations: 36.27 kB / 447.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1, allocations: 4 kB / 447.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.1001, allocations: 7.953 kB / 447.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1001, allocations: 4 kB / 447.2 MB, free: 11.31 MB / 298.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.517e-05/0.1002, allocations: 138.4 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1003, allocations: 97.48 kB / 447.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.1004, allocations: 12.31 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1004, allocations: 0 / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1004, allocations: 4 kB / 447.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1004, allocations: 7.984 kB / 447.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1005, allocations: 189.5 kB / 447.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1006, allocations: 0 / 447.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.1007, allocations: 27.92 kB / 447.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1007, allocations: 0 / 447.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1007, allocations: 7.984 kB / 447.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1007, allocations: 4 kB / 447.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1007, allocations: 0 / 447.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.101, allocations: 229 kB / 447.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.101, allocations: 96.98 kB / 448 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1011, allocations: 15.92 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.1012, allocations: 4 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1012, allocations: 3.984 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1012, allocations: 8 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.1013, allocations: 111.2 kB / 448.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1013, allocations: 4 kB / 448.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.1015, allocations: 11.95 kB / 448.1 MB, free: 10.25 MB / 298.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.217e-05/0.1016, allocations: 99.25 kB / 448.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1018, allocations: 80.59 kB / 448.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1018, allocations: 0 / 448.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.1018, allocations: 15.98 kB / 448.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1023, allocations: 63.94 kB / 448.4 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1028, allocations: 320.8 kB / 448.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.103, allocations: 0.7043 MB / 449.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.103, allocations: 15.44 kB / 449.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.103, allocations: 0 / 449.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of Templates: time 0.002201/0.1052, allocations: 1.171 MB / 450.6 MB, free: 7.723 MB / 298.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/jenkins/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