Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001696/0.001696, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.002023/0.002023, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.211 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.92 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2443, allocations: 53.36 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003299/0.2476, allocations: 1.796 MB / 434.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2488, allocations: 0.6154 MB / 434.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.249, allocations: 7.938 kB / 434.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.249, allocations: 7.875 kB / 434.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2491, allocations: 15.86 kB / 434.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2496, allocations: 107.6 kB / 434.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.2498, allocations: 91.7 kB / 435 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2499, allocations: 21.62 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.25, allocations: 47.84 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.2501, allocations: 51.7 kB / 435.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2501, allocations: 8 kB / 435.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.2502, allocations: 12 kB / 435.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.2502, allocations: 31.91 kB / 435.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.2503, allocations: 47.66 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.2505, allocations: 116.6 kB / 435.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2505, allocations: 4 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2505, allocations: 0 / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2505, allocations: 0 / 435.4 MB, free: 3.984 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005344/0.251, allocations: 349.7 kB / 435.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2511, allocations: 12.03 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.2512, allocations: 28.83 kB / 435.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2515, allocations: 170.2 kB / 435.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.2515, allocations: 12.31 kB / 435.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.2516, allocations: 12.38 kB / 435.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.2521, allocations: 267.5 kB / 436.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2521, allocations: 4 kB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2521, allocations: 4 kB / 436.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2521, allocations: 4 kB / 436.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.2522, allocations: 47.91 kB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.2526, allocations: 277.5 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.2529, allocations: 131.7 kB / 436.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.253, allocations: 66.84 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.253, allocations: 7.922 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.2531, allocations: 42.56 kB / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.2531, allocations: 0 / 436.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000419/0.2535, allocations: 173.6 kB / 436.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.2536, allocations: 110.8 kB / 437 MB, free: 2.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2538, allocations: 158.2 kB / 437.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.2538, allocations: 29.7 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.2538, allocations: 100.2 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.2539, allocations: 15.91 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.2539, allocations: 37.7 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2541, allocations: 326.8 kB / 437.7 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.2542, allocations: 27.98 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.2543, allocations: 138.5 kB / 437.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.2545, allocations: 174.3 kB / 438 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2545, allocations: 4 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002878/0.2548, allocations: 177.2 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2549, allocations: 8 kB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2549, allocations: 4.906 kB / 438.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2549, allocations: 8 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.255, allocations: 35.92 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.255, allocations: 7.938 kB / 438.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.2551, allocations: 11.88 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2551, allocations: 16 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000112/0.2552, allocations: 134.6 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.2554, allocations: 121.5 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.2555, allocations: 16.72 kB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2555, allocations: 4 kB / 438.6 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2555, allocations: 7.938 kB / 438.6 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2555, allocations: 7.922 kB / 438.6 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2557, allocations: 168.6 kB / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2557, allocations: 0 / 438.8 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2558, allocations: 23.98 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2558, allocations: 7.938 kB / 438.8 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2559, allocations: 7.984 kB / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2559, allocations: 4 kB / 438.8 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2559, allocations: 0 / 438.8 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.2562, allocations: 257 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.2562, allocations: 31.81 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2563, allocations: 8 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.2564, allocations: 0 / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2564, allocations: 7.938 kB / 439.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2564, allocations: 8 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.879e-05/0.2565, allocations: 123.1 kB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2565, allocations: 0 / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2568, allocations: 20 kB / 439.2 MB, free: 15.68 MB / 350.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001168/0.2569, allocations: 103.2 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.2571, allocations: 108.8 kB / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2571, allocations: 0 / 439.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.728e-05/0.2572, allocations: 8 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.2576, allocations: 87.06 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.2581, allocations: 295.5 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2585, allocations: 0.7202 MB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2585, allocations: 23.42 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2585, allocations: 0 / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.003193/0.2617, allocations: 1.5 MB / 442.1 MB, free: 12.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.616768029052764]