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.001233/0.001233, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001126/0.001126, allocations: 156.5 kB / 24.55 MB, free: 16 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.9561/0.9561, allocations: 177 MB / 204.8 MB, free: 5.211 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.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.306e-05, allocations: 5.266 kB / 272.9 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002669/0.002702, allocations: 1.669 MB / 274.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.003684, allocations: 0.6231 MB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.003779, allocations: 7.938 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.298e-05/0.003842, allocations: 7.875 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.004129, allocations: 31.72 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.004439, allocations: 83.7 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.004601, allocations: 71.78 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.00473, allocations: 11.98 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.004975, allocations: 55.83 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.005051, allocations: 27.89 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.005075, allocations: 8 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.005121, allocations: 8 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.005178, allocations: 23.91 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.005225, allocations: 23.92 kB / 275.6 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005416, allocations: 71.66 kB / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.005422, allocations: 0 / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.005424, allocations: 0 / 275.6 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.005431, allocations: 0 / 275.6 MB, free: 14.53 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.0005162/0.005948, allocations: 428.2 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.005992, allocations: 11.98 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.006157, allocations: 36.83 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.006398, allocations: 156.9 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.006427, allocations: 8.375 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.00645, allocations: 4.375 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.006813, allocations: 213.2 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.006826, allocations: 3.938 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006839, allocations: 0 / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006847, allocations: 4 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.006907, allocations: 27.91 kB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.007248, allocations: 291.1 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.007366, allocations: 105.3 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.007441, allocations: 55.05 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.007472, allocations: 4 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.007504, allocations: 41.38 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.007506, allocations: 0 / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002555/0.007762, allocations: 101.6 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.007842, allocations: 115.2 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.007972, allocations: 201.3 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.007987, allocations: 29.7 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.008047, allocations: 138.8 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.008072, allocations: 15.94 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.008109, allocations: 27.5 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.008252, allocations: 0.4884 MB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.008276, allocations: 8 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.008309, allocations: 34.75 kB / 278.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.008375, allocations: 58.61 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.00838, allocations: 4 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001286/0.008509, allocations: 77.61 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.008526, allocations: 7.938 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008532, allocations: 3.938 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.008552, allocations: 4 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.008644, allocations: 11.98 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.008651, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.008676, allocations: 4 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.008683, allocations: 4 kB / 278.3 MB, free: 11.54 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 8.999e-05/0.008773, allocations: 160.5 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.008876, allocations: 93.52 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.008919, allocations: 16.56 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.008923, allocations: 4 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.008928, allocations: 0 / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008932, allocations: 0 / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.009065, allocations: 140.5 kB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.009068, allocations: 4 kB / 278.7 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.009137, allocations: 19.92 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.009141, allocations: 4 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.009153, allocations: 4 kB / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009155, allocations: 0 / 278.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.009158, allocations: 7.984 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.009345, allocations: 259.1 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.009393, allocations: 23.89 kB / 279 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.009417, allocations: 4 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.009466, allocations: 4.125 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.009506, allocations: 4 kB / 279 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.009514, allocations: 11.92 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.435e-05/0.009578, allocations: 147.2 kB / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009578, allocations: 0 / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.009733, allocations: 12 kB / 279.2 MB, free: 10.56 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 0.0001223/0.009855, allocations: 103.2 kB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009983, allocations: 47.59 kB / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.009986, allocations: 0 / 279.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.201e-05/0.009998, allocations: 7.688 kB / 279.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.01033, allocations: 55.53 kB / 279.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.01103, allocations: 238.3 kB / 279.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.201e-05/0.01108, allocations: 75.58 kB / 279.7 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.821e-05/0.01111, allocations: 12.48 kB / 279.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.01115, allocations: 16.5 kB / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of SimCode: time 1.522e-06/0.01115, allocations: 0 / 279.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of Templates: time 0.003292/0.01444, allocations: 0.9976 MB / 280.8 MB, free: 8.969 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.999789673835039]