Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009072/0.0009072, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9232/0.9232, allocations: 177 MB / 204.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.199e-05, allocations: 5.125 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00211/0.002132, allocations: 1.665 MB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.003002, allocations: 0.6192 MB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.003082, allocations: 7.938 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.435e-05/0.003136, allocations: 11.86 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.003379, allocations: 31.73 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.003618, allocations: 79.72 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.003749, allocations: 79.7 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.003843, allocations: 11.98 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003972, allocations: 55.81 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.004023, allocations: 23.91 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.004043, allocations: 8 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.004082, allocations: 8 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.004129, allocations: 23.91 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.004165, allocations: 27.92 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004293, allocations: 63.73 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004295, allocations: 0 / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004296, allocations: 0 / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.0043, allocations: 0 / 275.6 MB, free: 14.74 MB / 266.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.0004359/0.004736, allocations: 436.1 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.004769, allocations: 15.98 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.004875, allocations: 20.84 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.005082, allocations: 168.9 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.005104, allocations: 8.359 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.005116, allocations: 8.375 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.005432, allocations: 205.2 kB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.005443, allocations: 11.94 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005453, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005461, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.474e-05/0.005515, allocations: 27.92 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.005778, allocations: 287.1 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.041e-05/0.005869, allocations: 105.4 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.005917, allocations: 47.05 kB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.005937, allocations: 7.938 kB / 277 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.005958, allocations: 37.39 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.005959, allocations: 3.938 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001958/0.006155, allocations: 109.5 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.006214, allocations: 118.8 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.868e-05/0.006313, allocations: 197.3 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.006324, allocations: 25.7 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.006377, allocations: 142.8 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.006393, allocations: 7.953 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.006423, allocations: 27.36 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.00653, allocations: 0.4884 MB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.006545, allocations: 4 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.006574, allocations: 47.36 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.006617, allocations: 54.62 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006619, allocations: 0 / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.035e-05/0.006689, allocations: 77.56 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.0067, allocations: 4 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.006707, allocations: 8 kB / 278.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006719, allocations: 4.125 kB / 278.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.006787, allocations: 11.94 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.006792, allocations: 0 / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.006813, allocations: 4 kB / 278.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.006819, allocations: 4 kB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.superSampleIpo.first,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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.006892, allocations: 168.5 kB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.179e-05/0.006974, allocations: 85.53 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.007004, allocations: 20.45 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.007006, allocations: 0 / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.007009, allocations: 0 / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.007012, allocations: 4 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.884e-05/0.007111, allocations: 140.5 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007112, allocations: 0 / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.007165, allocations: 19.98 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.007168, allocations: 7.922 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.007177, allocations: 0 / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007179, allocations: 7.938 kB / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.007179, allocations: 0 / 278.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.007343, allocations: 263.1 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.007376, allocations: 23.83 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.007394, allocations: 4 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.007435, allocations: 11.98 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.007466, allocations: 4 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.007471, allocations: 4 kB / 279.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.007527, allocations: 147.2 kB / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007527, allocations: 0 / 279.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.007675, allocations: 12 kB / 279.2 MB, free: 10.77 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.419e-05/0.007739, allocations: 99.19 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.007846, allocations: 51.67 kB / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007847, allocations: 256 / 279.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.007862, allocations: 19.67 kB / 279.4 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.008125, allocations: 55.55 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.008668, allocations: 242.3 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.008717, allocations: 63.34 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.247e-05/0.008739, allocations: 4.5 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.008778, allocations: 16.48 kB / 279.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008779, allocations: 8 kB / 279.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002748/0.01153, allocations: 1.033 MB / 280.8 MB, free: 9.137 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8311142148450017]