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.001386/0.001386, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.003417/0.003417, allocations: 211.9 kB / 23.74 MB, free: 4.656 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.673/1.673, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.001717/0.001717, allocations: 47.92 kB / 378.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.332, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003972/0.336, allocations: 1.643 MB / 433.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3375, allocations: 0.6349 MB / 433.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3376, allocations: 7.938 kB / 433.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.808e-05/0.3376, allocations: 7.875 kB / 433.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.338, allocations: 31.78 kB / 434 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.3384, allocations: 79.78 kB / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3386, allocations: 75.77 kB / 434.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3387, allocations: 19.98 kB / 434.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3389, allocations: 39.84 kB / 434.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.339, allocations: 35.78 kB / 434.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.339, allocations: 4 kB / 434.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.3391, allocations: 12 kB / 434.2 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.3392, allocations: 23.92 kB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.3392, allocations: 39.72 kB / 434.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.3395, allocations: 80.91 kB / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3395, allocations: 0 / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3395, allocations: 0 / 434.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3395, allocations: 0 / 434.4 MB, free: 4.191 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.0007367/0.3402, allocations: 345.8 kB / 434.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3403, allocations: 11.97 kB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.3405, allocations: 24.83 kB / 434.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3408, allocations: 150.8 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/0.3409, allocations: 8.375 kB / 434.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3409, allocations: 12.12 kB / 434.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.3415, allocations: 213.8 kB / 435.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3415, allocations: 4 kB / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.3415, allocations: 0 / 435.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3415, allocations: 7.938 kB / 435.1 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.3417, allocations: 51.95 kB / 435.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3421, allocations: 261.5 kB / 435.4 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3423, allocations: 103.8 kB / 435.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.3425, allocations: 54.69 kB / 435.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3425, allocations: 0 / 435.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.3425, allocations: 34.56 kB / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.827e-06/0.3425, allocations: 7.984 kB / 435.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004903/0.343, allocations: 146 kB / 435.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3431, allocations: 114.8 kB / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3433, allocations: 147.8 kB / 436 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3433, allocations: 25.7 kB / 436.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.628e-05/0.3434, allocations: 104.2 kB / 436.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.3434, allocations: 11.94 kB / 436.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.3435, allocations: 25.72 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3437, allocations: 326.8 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.3437, allocations: 19.98 kB / 436.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3438, allocations: 96.48 kB / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.344, allocations: 117.2 kB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.344, allocations: 4 kB / 436.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002476/0.3443, allocations: 133.4 kB / 436.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3443, allocations: 4 kB / 436.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3443, allocations: 7.938 kB / 436.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.3443, allocations: 4 kB / 436.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3445, allocations: 19.98 kB / 436.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.3445, allocations: 7.984 kB / 436.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.3446, allocations: 20.23 kB / 436.9 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3446, allocations: 8 kB / 436.9 MB, free: 1.309 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.0001469/0.3447, allocations: 136.5 kB / 437.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.3449, allocations: 97.56 kB / 437.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.345, allocations: 16.39 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.345, allocations: 4 kB / 437.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.345, allocations: 3.938 kB / 437.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.345, allocations: 3.938 kB / 437.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.3452, allocations: 160.6 kB / 437.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3452, allocations: 4 kB / 437.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3453, allocations: 23.97 kB / 437.4 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.3453, allocations: 4 kB / 437.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3454, allocations: 0 / 437.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3454, allocations: 0 / 437.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.3454, allocations: 7.938 kB / 437.4 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.3457, allocations: 225.1 kB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.3458, allocations: 23.89 kB / 437.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3458, allocations: 4.125 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3459, allocations: 12 kB / 437.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.346, allocations: 3.984 kB / 437.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.346, allocations: 7.938 kB / 437.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3461, allocations: 112.5 kB / 437.8 MB, free: 404 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 0 / 437.8 MB, free: 404 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3464, allocations: 16 kB / 437.8 MB, free: 388 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.0001537/0.3465, allocations: 107.2 kB / 437.9 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.3468, allocations: 79.83 kB / 438 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3468, allocations: 0 / 438 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.3468, allocations: 4 kB / 438 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3473, allocations: 63.48 kB / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.3481, allocations: 265.3 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.3485, allocations: 0.708 MB / 439 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.3485, allocations: 4.5 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3486, allocations: 19.42 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3486, allocations: 0 / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004758/0.3533, allocations: 1.038 MB / 440.1 MB, free: 14.05 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: 5.183394943131134]