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.001731/0.001731, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002164/0.002164, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001571/0.001571, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3032, allocations: 53.37 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003269/0.3065, allocations: 1.617 MB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.3082, allocations: 0.5882 MB / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3083, allocations: 7.938 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.686e-05/0.3084, allocations: 7.875 kB / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.3087, allocations: 35.84 kB / 433.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.3092, allocations: 83.66 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3094, allocations: 75.78 kB / 434 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.3095, allocations: 11.98 kB / 434 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3097, allocations: 39.84 kB / 434 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3098, allocations: 35.84 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3098, allocations: 4 kB / 434.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.167e-05/0.3099, allocations: 12 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.31, allocations: 23.84 kB / 434.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.31, allocations: 35.73 kB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3103, allocations: 93.83 kB / 434.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3103, allocations: 0 / 434.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3103, allocations: 0 / 434.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.3103, allocations: 0 / 434.2 MB, free: 4.035 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.0008887/0.3112, allocations: 337.8 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3112, allocations: 8.031 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.3115, allocations: 28.83 kB / 434.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.3119, allocations: 156.9 kB / 434.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.3119, allocations: 4.375 kB / 434.8 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3119, allocations: 12.12 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.3126, allocations: 216.4 kB / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3127, allocations: 0 / 435 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3127, allocations: 8 kB / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3127, allocations: 4 kB / 435 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.3129, allocations: 51.89 kB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.3134, allocations: 234.1 kB / 435.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3137, allocations: 95.89 kB / 435.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.3139, allocations: 46.62 kB / 435.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3139, allocations: 0 / 435.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3139, allocations: 46.48 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3139, allocations: 4 kB / 435.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000616/0.3146, allocations: 137.9 kB / 435.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.3147, allocations: 118.9 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.3149, allocations: 149 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.315, allocations: 29.7 kB / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.315, allocations: 92.12 kB / 436 MB, free: 2.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.3151, allocations: 19.84 kB / 436 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.3151, allocations: 29.7 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.3153, allocations: 322.8 kB / 436.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.3154, allocations: 24.11 kB / 436.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3156, allocations: 89.42 kB / 436.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.3158, allocations: 117.3 kB / 436.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3158, allocations: 7.938 kB / 436.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002945/0.3161, allocations: 129.4 kB / 436.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3161, allocations: 4.344 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3161, allocations: 8 kB / 436.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3162, allocations: 4 kB / 436.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3163, allocations: 27.92 kB / 436.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3163, allocations: 4 kB / 436.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.3164, allocations: 15.88 kB / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3164, allocations: 8 kB / 436.8 MB, free: 1.211 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.0001603/0.3166, allocations: 136.6 kB / 436.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.3169, allocations: 97.62 kB / 437 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.317, allocations: 16.39 kB / 437 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.317, allocations: 0 / 437 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.317, allocations: 4 kB / 437 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.317, allocations: 7.938 kB / 437 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.3172, allocations: 133.2 kB / 437.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3172, allocations: 0 / 437.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.3174, allocations: 19.98 kB / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3174, allocations: 0 / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.3174, allocations: 8 kB / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3174, allocations: 0 / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3174, allocations: 0 / 437.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.3179, allocations: 233.1 kB / 437.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.318, allocations: 27.89 kB / 437.5 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.318, allocations: 12 kB / 437.5 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3182, allocations: 7.984 kB / 437.5 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3182, allocations: 0 / 437.5 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3182, allocations: 8 kB / 437.5 MB, free: 456 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3184, allocations: 111.2 kB / 437.6 MB, free: 344 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3184, allocations: 0 / 437.6 MB, free: 344 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004812/0.3189, allocations: 16 kB / 437.6 MB, free: 328 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.0001647/0.319, allocations: 99.25 kB / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.3193, allocations: 83.83 kB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3194, allocations: 0 / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.3194, allocations: 7.938 kB / 437.8 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.3201, allocations: 55.98 kB / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.3209, allocations: 258.1 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.321, allocations: 92.19 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.107e-05/0.3211, allocations: 8.484 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.3211, allocations: 15.44 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3211, allocations: 3.938 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Templates: time 0.00566/0.3268, allocations: 1.112 MB / 439.3 MB, free: 14.56 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/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: 4.768792656250298]