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.001062/0.001062, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001042/0.001042, allocations: 161 kB / 24.99 MB, free: 8.805 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.9963/0.9963, allocations: 177 MB / 205.2 MB, free: 5.605 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.713e-06/1.713e-06, allocations: 0 / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.259e-05, allocations: 2.312 kB / 273 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003104/0.003137, allocations: 1.665 MB / 274.7 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.004275, allocations: 0.6115 MB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.004384, allocations: 3.938 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.896e-05/0.004443, allocations: 7.875 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.004747, allocations: 35.72 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.005091, allocations: 91.62 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.005243, allocations: 75.77 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.005354, allocations: 11.98 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.005545, allocations: 51.83 kB / 275.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.005615, allocations: 27.91 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.005636, allocations: 4 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.005685, allocations: 15.98 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.005742, allocations: 19.91 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.005788, allocations: 19.94 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.005971, allocations: 67.72 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005974, allocations: 4 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005975, allocations: 0 / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005979, allocations: 0 / 275.7 MB, free: 15.04 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.0005465/0.006526, allocations: 436.1 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.006573, allocations: 11.98 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.006735, allocations: 24.83 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.006916, allocations: 156.9 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.006937, allocations: 12.38 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.00695, allocations: 8.375 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.007274, allocations: 218.9 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.007281, allocations: 3.938 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.007291, allocations: 0 / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007298, allocations: 4 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.007353, allocations: 31.91 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.007627, allocations: 287.1 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.007731, allocations: 105.4 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.007783, allocations: 43.06 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.007806, allocations: 11.92 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.007829, allocations: 41.33 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.00783, allocations: 0 / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002204/0.00805, allocations: 101.6 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.008113, allocations: 122.9 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.008228, allocations: 201.3 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.008241, allocations: 29.7 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.008286, allocations: 138.8 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.008303, allocations: 7.938 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.008336, allocations: 23.38 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.008442, allocations: 0.4923 MB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.008461, allocations: 4 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.008492, allocations: 46.73 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.008546, allocations: 58.62 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008548, allocations: 0 / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.731e-05/0.008625, allocations: 69.58 kB / 278.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.008638, allocations: 4 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008643, allocations: 4 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.008654, allocations: 3.938 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.008723, allocations: 11.98 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.008729, allocations: 8.125 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.008751, allocations: 0.5 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.008757, allocations: 4 kB / 278.4 MB, free: 12.05 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.289e-05/0.00883, allocations: 164.5 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.008925, allocations: 93.52 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.008955, allocations: 16.47 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.008958, allocations: 3.984 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008963, allocations: 4 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.008968, allocations: 3.984 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.009073, allocations: 132.6 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009074, allocations: 4 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.009137, allocations: 27.86 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009139, allocations: 0 / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.009149, allocations: 7.984 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.00915, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009151, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.009301, allocations: 259.2 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.009339, allocations: 27.83 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.009356, allocations: 0 / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.009401, allocations: 8 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.00943, allocations: 3.984 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.009436, allocations: 8 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.408e-05/0.00949, allocations: 147.1 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00949, allocations: 0 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001589/0.009649, allocations: 12 kB / 279.3 MB, free: 11.07 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 8.213e-05/0.009731, allocations: 99.23 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.009838, allocations: 51.55 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009839, allocations: 0 / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.009852, allocations: 11.69 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01015, allocations: 64.28 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.01072, allocations: 238.3 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.01076, allocations: 75.27 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.338e-05/0.01079, allocations: 0.5 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.01082, allocations: 16.5 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01082, allocations: 0 / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Templates: time 0.002711/0.01353, allocations: 1.003 MB / 280.8 MB, free: 9.469 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.7781522599980235]