Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001737/0.001737, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001522/0.001522, allocations: 206.8 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.654/1.654, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 71.81 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003966/0.3415, allocations: 1.771 MB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3429, allocations: 0.6155 MB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.343, allocations: 0 / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.3431, allocations: 11.81 kB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3432, allocations: 19.86 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.3437, allocations: 98.95 kB / 434.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3439, allocations: 91.75 kB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.344, allocations: 25.44 kB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3442, allocations: 63.7 kB / 434.8 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.3443, allocations: 39.78 kB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3443, allocations: 4 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.3444, allocations: 12 kB / 434.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.3444, allocations: 31.89 kB / 434.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.3445, allocations: 51.67 kB / 434.9 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.3447, allocations: 113.4 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3447, allocations: 3.938 kB / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3447, allocations: 0 / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3447, allocations: 4 kB / 435 MB, free: 4.414 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.0006356/0.3454, allocations: 430.8 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3454, allocations: 8.031 kB / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3456, allocations: 28.83 kB / 435.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.3459, allocations: 228 kB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3459, allocations: 12.38 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3459, allocations: 12.38 kB / 435.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.3464, allocations: 261.5 kB / 436 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3464, allocations: 7.922 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3464, allocations: 4 kB / 436 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3465, allocations: 0 / 436 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3466, allocations: 51.97 kB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.347, allocations: 310.5 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3472, allocations: 127.9 kB / 436.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3474, allocations: 66.62 kB / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3474, allocations: 8.141 kB / 436.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3474, allocations: 38.48 kB / 436.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3474, allocations: 0 / 436.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004286/0.3479, allocations: 173.5 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.348, allocations: 118.9 kB / 436.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3481, allocations: 158.1 kB / 437 MB, free: 2.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3482, allocations: 29.7 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.3482, allocations: 100.1 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3482, allocations: 19.84 kB / 437.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.3483, allocations: 37.7 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3484, allocations: 327.1 kB / 437.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3485, allocations: 23.98 kB / 437.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3487, allocations: 134.5 kB / 437.7 MB, free: 1.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.3489, allocations: 178.4 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3489, allocations: 7.938 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002961/0.3492, allocations: 181.5 kB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3492, allocations: 6.812 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3492, allocations: 4 kB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3492, allocations: 8 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3494, allocations: 27.92 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3494, allocations: 7.938 kB / 438.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.3494, allocations: 19.92 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3495, allocations: 8 kB / 438.1 MB, free: 0.9375 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.0001191/0.3496, allocations: 145 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.3498, allocations: 125.5 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.3498, allocations: 20.66 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3499, allocations: 0 / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3499, allocations: 0 / 438.4 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3499, allocations: 11.92 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3501, allocations: 193.6 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3501, allocations: 3.984 kB / 438.6 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3502, allocations: 23.98 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3502, allocations: 0 / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3502, allocations: 12 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3502, allocations: 0 / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3502, allocations: 0 / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.3505, allocations: 253 kB / 438.9 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3506, allocations: 112.9 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.3507, allocations: 12 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.3508, allocations: 8 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3508, allocations: 11.91 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3508, allocations: 4 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.3509, allocations: 116.1 kB / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3509, allocations: 0 / 439.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3512, allocations: 20 kB / 439.2 MB, free: 15.79 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.0001439/0.3513, allocations: 107.2 kB / 439.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3516, allocations: 103.8 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3516, allocations: 96 / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.3516, allocations: 15.92 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.3521, allocations: 73.67 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.3526, allocations: 277.5 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.353, allocations: 0.728 MB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.353, allocations: 5.438 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.353, allocations: 23.42 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.353, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Templates: time 0.004347/0.3574, allocations: 1.275 MB / 441.7 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.0026230700314045]