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.001526/0.001526, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001633/0.001633, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.724/1.724, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001618/0.001618, allocations: 51.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3121, allocations: 53.35 MB / 432.3 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.004288/0.3164, allocations: 1.629 MB / 434 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3182, allocations: 0.5921 MB / 434.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3183, allocations: 3.938 kB / 434.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.7e-05/0.3184, allocations: 3.938 kB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.3187, allocations: 35.78 kB / 434.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.3191, allocations: 79.72 kB / 434.7 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.3193, allocations: 79.77 kB / 434.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3195, allocations: 15.98 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.3196, allocations: 47.78 kB / 434.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.3197, allocations: 31.84 kB / 434.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3198, allocations: 4 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.3198, allocations: 8 kB / 434.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3199, allocations: 23.92 kB / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.32, allocations: 31.78 kB / 434.9 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.3202, allocations: 86.53 kB / 435 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3202, allocations: 0 / 435 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3202, allocations: 4 kB / 435 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3202, allocations: 0 / 435 MB, free: 4.16 MB / 334.1 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.0008175/0.321, allocations: 341.8 kB / 435.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3211, allocations: 12.03 kB / 435.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.3213, allocations: 24.83 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.3217, allocations: 150.8 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.3217, allocations: 8.375 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3218, allocations: 8.125 kB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.3225, allocations: 224.4 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3225, allocations: 0 / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3225, allocations: 3.984 kB / 435.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3225, allocations: 0 / 435.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3228, allocations: 51.95 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.3232, allocations: 230.1 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.3235, allocations: 103.8 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.3237, allocations: 50.75 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3237, allocations: 4 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3237, allocations: 34.55 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3237, allocations: 0 / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006192/0.3243, allocations: 153.9 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.3245, allocations: 114.8 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3247, allocations: 152.9 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.3247, allocations: 29.7 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.3248, allocations: 92.14 kB / 436.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.3248, allocations: 15.89 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-05/0.3249, allocations: 33.7 kB / 436.8 MB, free: 2.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3251, allocations: 318.8 kB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.3251, allocations: 19.98 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3253, allocations: 93.36 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3255, allocations: 121.2 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.3256, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003496/0.3259, allocations: 137.4 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3259, allocations: 8 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3259, allocations: 0 / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.326, allocations: 4 kB / 437.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3261, allocations: 23.98 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.3261, allocations: 8.281 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3262, allocations: 15.95 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3263, allocations: 4 kB / 437.5 MB, free: 1.332 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$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 (14): * Single equations (assignments): 14 * 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 0.0001617/0.3264, allocations: 141.6 kB / 437.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.3267, allocations: 93.56 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.3268, allocations: 20.39 kB / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3268, allocations: 0 / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3268, allocations: 4 kB / 437.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3268, allocations: 0 / 437.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.327, allocations: 129.2 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.327, allocations: 0 / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3272, allocations: 23.98 kB / 437.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.3272, allocations: 7.938 kB / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3272, allocations: 0 / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3272, allocations: 0 / 437.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.3272, allocations: 4.188 kB / 437.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.3276, allocations: 233 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.3277, allocations: 23.89 kB / 438.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.3277, allocations: 0 / 438.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3278, allocations: 11.98 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3279, allocations: 0 / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3279, allocations: 8 kB / 438.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.328, allocations: 115.2 kB / 438.3 MB, free: 472 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.328, allocations: 0 / 438.3 MB, free: 472 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.3284, allocations: 19.94 kB / 438.3 MB, free: 452 kB / 334.1 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.0001814/0.3286, allocations: 107.2 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.3289, allocations: 76.45 kB / 438.5 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3289, allocations: 0 / 438.5 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.138e-05/0.329, allocations: 12.06 kB / 438.5 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.3296, allocations: 61.98 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/0.3306, allocations: 253.4 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3307, allocations: 92.19 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.873e-05/0.3308, allocations: 12.55 kB / 439 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.3308, allocations: 11.44 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3308, allocations: 0 / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Templates: time 0.005849/0.3367, allocations: 1.129 MB / 440.1 MB, free: 14.67 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.337550978991203]