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.001358/0.001358, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001101/0.001101, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 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.9469/0.9469, allocations: 177 MB / 205.9 MB, free: 4.457 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.473e-06/1.473e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.343e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002171/0.002194, allocations: 1.654 MB / 275.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.002986, allocations: 0.617 MB / 276.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.003066, allocations: 7.938 kB / 276.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.00311, allocations: 7.922 kB / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.003331, allocations: 23.73 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.003552, allocations: 88.42 kB / 276.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.003657, allocations: 75.77 kB / 276.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.003735, allocations: 20.61 kB / 276.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.00386, allocations: 59.75 kB / 276.7 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.00391, allocations: 26.38 kB / 276.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003927, allocations: 4 kB / 276.7 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/0.003966, allocations: 8 kB / 276.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.004011, allocations: 27.91 kB / 276.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.004036, allocations: 15.94 kB / 276.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.00416, allocations: 63.78 kB / 276.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004162, allocations: 5.812 kB / 276.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004163, allocations: 0 / 276.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004167, allocations: 0 / 276.8 MB, free: 1.574 MB / 250.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.0004109/0.004578, allocations: 440 kB / 277.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.004609, allocations: 8.531 kB / 277.3 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.004719, allocations: 29.44 kB / 277.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.004878, allocations: 157.6 kB / 277.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.004897, allocations: 12.36 kB / 277.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.004906, allocations: 4.375 kB / 277.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.005132, allocations: 205.1 kB / 277.7 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.005139, allocations: 3.938 kB / 277.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.005146, allocations: 4 kB / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005151, allocations: 0 / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.005185, allocations: 15.98 kB / 277.7 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.005387, allocations: 271.6 kB / 277.9 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.005464, allocations: 97.36 kB / 278 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.005502, allocations: 51.03 kB / 278.1 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.005516, allocations: 4 kB / 278.1 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.005537, allocations: 45.33 kB / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.005538, allocations: 0 / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001729/0.005711, allocations: 105.5 kB / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.005767, allocations: 110.8 kB / 278.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.005855, allocations: 197.2 kB / 278.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.005866, allocations: 29.7 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.005907, allocations: 134.9 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.005925, allocations: 15.91 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.005955, allocations: 31.34 kB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.006064, allocations: 496.1 kB / 279.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.006075, allocations: 3.984 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.006103, allocations: 42.73 kB / 279.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.006154, allocations: 54.8 kB / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006156, allocations: 0 / 279.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.706e-05/0.006233, allocations: 77.45 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.006243, allocations: 4 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006247, allocations: 0 / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.006255, allocations: 4 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.00631, allocations: 12.12 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006312, allocations: 0 / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.006335, allocations: 7.984 kB / 279.4 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.00634, allocations: 0 / 279.4 MB, free: 14.66 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.019e-05/0.00641, allocations: 164.5 kB / 279.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.006491, allocations: 77.58 kB / 279.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.00652, allocations: 20.45 kB / 279.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.006523, allocations: 4.609 kB / 279.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.006526, allocations: 4 kB / 279.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006529, allocations: 0 / 279.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.86e-05/0.006627, allocations: 113.1 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.006631, allocations: 12 kB / 279.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.006685, allocations: 23.92 kB / 279.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.006689, allocations: 7.938 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.006695, allocations: 3.984 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006697, allocations: 4 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006698, allocations: 0 / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.231e-05/0.006791, allocations: 211.2 kB / 280.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.006822, allocations: 15.88 kB / 280.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.00684, allocations: 15.92 kB / 280.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.461e-05/0.006885, allocations: 8.031 kB / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.006905, allocations: 0 / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.006911, allocations: 4 kB / 280.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.614e-05/0.006957, allocations: 147.1 kB / 280.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006957, allocations: 0 / 280.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.007117, allocations: 16 kB / 280.3 MB, free: 13.75 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.855e-05/0.007195, allocations: 95.25 kB / 280.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.007277, allocations: 39.61 kB / 280.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.007278, allocations: 256 / 280.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.007293, allocations: 19.67 kB / 280.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.007546, allocations: 59.8 kB / 280.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.007998, allocations: 242.2 kB / 280.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.008036, allocations: 67.34 kB / 280.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.008067, allocations: 8.484 kB / 280.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.008127, allocations: 78.2 kB / 280.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008128, allocations: 4.062 kB / 280.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Templates: time 0.002499/0.01063, allocations: 1.071 MB / 281.9 MB, free: 12.04 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.801709992811084]