Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.159e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002341/0.002363, allocations: 1.677 MB / 274.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008351/0.003198, allocations: 0.6152 MB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.003288, allocations: 7.938 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.654e-05/0.003354, allocations: 3.938 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.003647, allocations: 35.72 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.003891, allocations: 75.72 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004013, allocations: 83.77 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.004109, allocations: 11.98 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.004239, allocations: 55.77 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.004297, allocations: 27.89 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.00432, allocations: 8 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.004362, allocations: 8 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.004414, allocations: 19.92 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.00445, allocations: 23.91 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004598, allocations: 63.75 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004601, allocations: 0 / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004601, allocations: 4 kB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004605, allocations: 0 / 275.7 MB, free: 14.81 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.0004595/0.005065, allocations: 432.2 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.0051, allocations: 8.031 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.005212, allocations: 28.83 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.005416, allocations: 160.9 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.005438, allocations: 8.375 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.005453, allocations: 12.38 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.005791, allocations: 204.5 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.0058, allocations: 7.875 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.005813, allocations: 8 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.005821, allocations: 0 / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.005878, allocations: 27.98 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.006184, allocations: 291 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.006292, allocations: 105.1 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.006348, allocations: 51.3 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.006369, allocations: 4 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.00639, allocations: 33.39 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.006392, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000205/0.006597, allocations: 117.5 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.006654, allocations: 110.8 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006761, allocations: 205 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.006773, allocations: 29.7 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.006821, allocations: 138.8 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.006838, allocations: 7.953 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.006868, allocations: 27.36 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006978, allocations: 0.4884 MB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.006995, allocations: 7.984 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.007027, allocations: 42.75 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.007078, allocations: 58.61 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00708, allocations: 3.938 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.524e-05/0.007155, allocations: 77.52 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.007168, allocations: 4 kB / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.007172, allocations: 0 / 278.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.007187, allocations: 4 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.007257, allocations: 8 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007262, allocations: 160 / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.007284, allocations: 12.11 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00729, allocations: 3.984 kB / 278.4 MB, free: 11.82 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 6.966e-05/0.00736, allocations: 168.5 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/0.007444, allocations: 85.59 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.007475, allocations: 20.45 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007477, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.00748, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.007484, allocations: 4 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.007585, allocations: 141.2 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007586, allocations: 0 / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.007642, allocations: 23.92 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007644, allocations: 4 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.007654, allocations: 4 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007656, allocations: 4 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007657, allocations: 0 / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.007796, allocations: 263.1 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.00783, allocations: 27.81 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.007847, allocations: 8 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.007885, allocations: 0 / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.007915, allocations: 4 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.007923, allocations: 8 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.363e-05/0.007977, allocations: 147.2 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007977, allocations: 0 / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.008126, allocations: 16 kB / 279.3 MB, free: 10.83 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 7.56e-05/0.008201, allocations: 95.25 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.008314, allocations: 47.59 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008316, allocations: 0 / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.00833, allocations: 15.69 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.008614, allocations: 54.86 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.009202, allocations: 250.3 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.009257, allocations: 63.34 kB / 279.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.009294, allocations: 12.47 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.009337, allocations: 12.5 kB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009338, allocations: 0 / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of Templates: time 0.003008/0.01235, allocations: 1.042 MB / 280.9 MB, free: 9.191 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.906381653621793]