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.001794/0.001794, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002252/0.002252, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.433/1.433, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001439/0.001439, allocations: 55.86 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2285, allocations: 53.36 MB / 432.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002883/0.2314, allocations: 1.632 MB / 434 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2327, allocations: 0.5882 MB / 434.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.2328, allocations: 7.938 kB / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.2328, allocations: 7.875 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.233, allocations: 27.84 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2333, allocations: 83.73 kB / 434.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.2335, allocations: 75.77 kB / 434.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.2336, allocations: 15.97 kB / 434.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.2337, allocations: 39.86 kB / 434.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.2338, allocations: 35.83 kB / 434.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.2338, allocations: 8 kB / 434.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-05/0.2339, allocations: 8 kB / 434.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.2339, allocations: 23.86 kB / 434.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.234, allocations: 27.8 kB / 434.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2342, allocations: 90.58 kB / 435 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2342, allocations: 7.938 kB / 435 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2342, allocations: 0 / 435 MB, free: 4.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2342, allocations: 0 / 435 MB, free: 4.227 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.0005775/0.2348, allocations: 337.9 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.2348, allocations: 8.031 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.2349, allocations: 24.83 kB / 435.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.2352, allocations: 149.1 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2352, allocations: 16.31 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.2352, allocations: 8.125 kB / 435.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.2357, allocations: 217.7 kB / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2357, allocations: 0 / 435.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2357, allocations: 4 kB / 435.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2357, allocations: 7.938 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.2359, allocations: 55.89 kB / 435.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.2362, allocations: 226.2 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.2365, allocations: 95.77 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.2366, allocations: 50.73 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2366, allocations: 4 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2366, allocations: 38.5 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.2366, allocations: 4 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004286/0.2371, allocations: 145.9 kB / 436.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.2371, allocations: 110.9 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2373, allocations: 149.8 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.2373, allocations: 29.7 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.2374, allocations: 96.08 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2374, allocations: 15.89 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.2374, allocations: 25.72 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2376, allocations: 326.8 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.2377, allocations: 28.11 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2378, allocations: 87.69 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.238, allocations: 117.3 kB / 437.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.238, allocations: 4 kB / 437.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002365/0.2383, allocations: 133.4 kB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2383, allocations: 4.344 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2383, allocations: 8 kB / 437.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2383, allocations: 4 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2384, allocations: 23.92 kB / 437.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2384, allocations: 4 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.2385, allocations: 11.94 kB / 437.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.2385, allocations: 15.94 kB / 437.5 MB, free: 1.402 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.0001123/0.2386, allocations: 137.6 kB / 437.7 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.2388, allocations: 93.62 kB / 437.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.2389, allocations: 12.41 kB / 437.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2389, allocations: 4 kB / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2389, allocations: 11.92 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2389, allocations: 0 / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.239, allocations: 125.2 kB / 437.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.239, allocations: 4 kB / 437.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.2392, allocations: 23.97 kB / 437.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2392, allocations: 3.938 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2392, allocations: 0 / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2392, allocations: 4 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2392, allocations: 0 / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.2395, allocations: 233.1 kB / 438.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.2396, allocations: 31.83 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2396, allocations: 8 kB / 438.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2397, allocations: 8 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.2397, allocations: 3.984 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2397, allocations: 4 kB / 438.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.2398, allocations: 114.8 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2398, allocations: 0 / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.2401, allocations: 16 kB / 438.4 MB, free: 0.5117 MB / 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.000107/0.2402, allocations: 99.25 kB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.2404, allocations: 83.83 kB / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2404, allocations: 0 / 438.5 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.2404, allocations: 7.938 kB / 438.5 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2409, allocations: 58.05 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.2415, allocations: 258.1 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.2416, allocations: 96.19 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.2417, allocations: 4.5 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.2417, allocations: 19.42 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2417, allocations: 0 / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Templates: time 0.003834/0.2455, allocations: 1.116 MB / 440.1 MB, free: 14.75 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 gbode -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: 4.2586467150104]