Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.91 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2463, allocations: 53.4 MB / 432.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003412/0.2498, allocations: 1.751 MB / 434.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.251, allocations: 0.5688 MB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2511, allocations: 7.875 kB / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.258e-05/0.2512, allocations: 11.86 kB / 434.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2513, allocations: 11.88 kB / 434.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2518, allocations: 107.6 kB / 434.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.252, allocations: 95.69 kB / 434.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.2521, allocations: 25.28 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2523, allocations: 51.8 kB / 435 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.2523, allocations: 47.75 kB / 435.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2524, allocations: 8 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.2524, allocations: 8 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.2525, allocations: 23.92 kB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.2525, allocations: 39.72 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.2527, allocations: 118.4 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2527, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2527, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.2527, allocations: 0 / 435.3 MB, free: 3.629 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.0005792/0.2533, allocations: 357.7 kB / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2534, allocations: 11.98 kB / 435.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2535, allocations: 28.83 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.2539, allocations: 170.8 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.2539, allocations: 8.375 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2539, allocations: 16.31 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.2544, allocations: 269 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2544, allocations: 0 / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2545, allocations: 8 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2545, allocations: 4 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.2546, allocations: 51.89 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.255, allocations: 238.2 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.2552, allocations: 127.8 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.2553, allocations: 66.61 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2554, allocations: 4 kB / 436.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.2554, allocations: 38.5 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.2554, allocations: 4 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004248/0.2558, allocations: 177.6 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.2559, allocations: 114.8 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2561, allocations: 158.2 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2561, allocations: 25.7 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2562, allocations: 96.09 kB / 437.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.2562, allocations: 23.89 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.2563, allocations: 33.7 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2564, allocations: 326.8 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.2565, allocations: 28.05 kB / 437.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2567, allocations: 142.1 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.2569, allocations: 166.4 kB / 437.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2569, allocations: 4 kB / 437.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003265/0.2572, allocations: 185.2 kB / 438.1 MB, free: 492 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2572, allocations: 8 kB / 438.1 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2572, allocations: 4 kB / 438.1 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2573, allocations: 4.906 kB / 438.1 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2574, allocations: 35.92 kB / 438.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.2574, allocations: 15.86 kB / 438.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.2575, allocations: 11.95 kB / 438.2 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2575, allocations: 19.88 kB / 438.2 MB, free: 392 kB / 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.0001324/0.2576, allocations: 140.6 kB / 438.3 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.2578, allocations: 113.6 kB / 438.4 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.2579, allocations: 24.69 kB / 438.5 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2579, allocations: 4 kB / 438.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2579, allocations: 0 / 438.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2579, allocations: 0 / 438.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.2581, allocations: 137.4 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2581, allocations: 0 / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2582, allocations: 23.98 kB / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2582, allocations: 0 / 438.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2582, allocations: 11.98 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2582, allocations: 0 / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2582, allocations: 3.938 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.2586, allocations: 257 kB / 438.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.2586, allocations: 27.83 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.2587, allocations: 11.98 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.2587, allocations: 4 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.2588, allocations: 4 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.2588, allocations: 8 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.2589, allocations: 116.1 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2589, allocations: 0 / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.2592, allocations: 24 kB / 439.1 MB, free: 15.42 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.0001154/0.2593, allocations: 103.2 kB / 439.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.2595, allocations: 115.8 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2595, allocations: 0 / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.2596, allocations: 4 kB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.26, allocations: 84.22 kB / 439.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.2606, allocations: 296.5 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2607, allocations: 106.9 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2608, allocations: 19.44 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2608, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Templates: time 0.003629/0.2644, allocations: 1.521 MB / 441.3 MB, free: 13.13 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.776099685113877]