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.001435/0.001435, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001689/0.001689, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.001654/0.001654, allocations: 43.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2414, allocations: 53.36 MB / 432.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003021/0.2444, allocations: 1.644 MB / 434 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2456, allocations: 0.6388 MB / 434.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.2457, allocations: 3.938 kB / 434.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.2457, allocations: 11.86 kB / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.246, allocations: 35.78 kB / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2463, allocations: 75.8 kB / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2464, allocations: 75.77 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.2465, allocations: 11.98 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2466, allocations: 47.78 kB / 434.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.2467, allocations: 43.83 kB / 435 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2467, allocations: 4 kB / 435 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.073e-05/0.2468, allocations: 8 kB / 435 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.2468, allocations: 19.92 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.2469, allocations: 35.73 kB / 435 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.247, allocations: 93.81 kB / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.247, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.247, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.247, allocations: 0 / 435.1 MB, free: 4.188 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.0006213/0.2477, allocations: 341.9 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2477, allocations: 8.031 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.2478, allocations: 20.84 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.2481, allocations: 152.5 kB / 435.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2481, allocations: 8.375 kB / 435.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2481, allocations: 8.125 kB / 435.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.2486, allocations: 223.4 kB / 435.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2486, allocations: 0 / 435.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2486, allocations: 4 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2486, allocations: 4 kB / 435.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.2488, allocations: 51.91 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.2491, allocations: 265.5 kB / 436.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2493, allocations: 95.83 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.2495, allocations: 58.67 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2495, allocations: 4 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2495, allocations: 30.56 kB / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2495, allocations: 0 / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004154/0.2499, allocations: 154 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.25, allocations: 114.8 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2502, allocations: 147.6 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2502, allocations: 25.7 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.2503, allocations: 100.1 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.2503, allocations: 19.89 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.2503, allocations: 29.84 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2505, allocations: 326.8 kB / 437.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.2506, allocations: 15.98 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.2507, allocations: 85.44 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.2508, allocations: 125.2 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2508, allocations: 0 / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002233/0.2511, allocations: 133.5 kB / 437.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2511, allocations: 8 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2511, allocations: 0 / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2511, allocations: 11.92 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2512, allocations: 23.98 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2512, allocations: 4 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.2513, allocations: 19.83 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2513, allocations: 4 kB / 437.7 MB, free: 1.316 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.0001114/0.2514, allocations: 142 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.2516, allocations: 93.56 kB / 437.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.2517, allocations: 16.41 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2517, allocations: 0 / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2517, allocations: 4 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2517, allocations: 7.922 kB / 438 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.2519, allocations: 152.7 kB / 438.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.2519, allocations: 4 kB / 438.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.252, allocations: 19.98 kB / 438.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.252, allocations: 4 kB / 438.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.252, allocations: 3.984 kB / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.252, allocations: 4 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.252, allocations: 3.938 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.2523, allocations: 229.2 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.2524, allocations: 23.92 kB / 438.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2524, allocations: 4 kB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.395e-05/0.2525, allocations: 8 kB / 438.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.2525, allocations: 0 / 438.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2525, allocations: 11.92 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.705e-05/0.2526, allocations: 109.7 kB / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2526, allocations: 0 / 438.5 MB, free: 420 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.2529, allocations: 19.95 kB / 438.5 MB, free: 400 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.0001087/0.253, allocations: 115.1 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.2532, allocations: 75.84 kB / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2532, allocations: 0 / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.2532, allocations: 11.98 kB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.2537, allocations: 62.67 kB / 438.8 MB, free: 128 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.2544, allocations: 292.1 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2548, allocations: 0.7002 MB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.2549, allocations: 15.44 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2549, allocations: 0 / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Templates: time 0.002847/0.2577, allocations: 1.208 MB / 441 MB, free: 13.85 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/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: 6.60255315201357]