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.001521/0.001521, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001731/0.001731, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.462/1.462, allocations: 230.5 MB / 258.1 MB, free: 8.148 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.002038/0.002038, allocations: 71.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2845, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00357/0.288, allocations: 1.779 MB / 433.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2893, allocations: 0.6116 MB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2894, allocations: 3.938 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.183e-05/0.2895, allocations: 7.875 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.2896, allocations: 23.78 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.2901, allocations: 103.1 kB / 434.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.2903, allocations: 91.7 kB / 434.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2904, allocations: 21.44 kB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2905, allocations: 55.78 kB / 434.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.2906, allocations: 47.72 kB / 434.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.2906, allocations: 4 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.2907, allocations: 15.98 kB / 434.8 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.2908, allocations: 23.91 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.2908, allocations: 51.67 kB / 434.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.2911, allocations: 117 kB / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2911, allocations: 0 / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2911, allocations: 0 / 435 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2911, allocations: 0 / 435 MB, free: 4.422 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.0006714/0.2918, allocations: 430.9 kB / 435.4 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2918, allocations: 11.97 kB / 435.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.292, allocations: 28.83 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.2923, allocations: 224 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.2924, allocations: 12.31 kB / 435.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.2924, allocations: 16.38 kB / 435.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.2929, allocations: 258.6 kB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2929, allocations: 4 kB / 436 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2929, allocations: 4 kB / 436 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2929, allocations: 0 / 436 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.2931, allocations: 51.91 kB / 436 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.2935, allocations: 306.5 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2938, allocations: 127.8 kB / 436.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.2939, allocations: 70.59 kB / 436.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.2939, allocations: 12.14 kB / 436.5 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.294, allocations: 34.56 kB / 436.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.294, allocations: 4 kB / 436.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000438/0.2944, allocations: 169.4 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2945, allocations: 118.9 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2947, allocations: 162.1 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2947, allocations: 25.7 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/0.2948, allocations: 100.1 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2948, allocations: 23.83 kB / 437.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.2949, allocations: 33.72 kB / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.295, allocations: 326.8 kB / 437.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.2951, allocations: 31.97 kB / 437.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.2952, allocations: 130.6 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.2955, allocations: 174.3 kB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.2955, allocations: 8.375 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003056/0.2958, allocations: 185.6 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2958, allocations: 4 kB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2958, allocations: 4 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.2958, allocations: 11.94 kB / 438 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.296, allocations: 27.92 kB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.296, allocations: 7.984 kB / 438.1 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.2961, allocations: 15.94 kB / 438.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.2961, allocations: 11.94 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.0001396/0.2962, allocations: 145.8 kB / 438.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.2964, allocations: 121.5 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.2965, allocations: 24.7 kB / 438.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2965, allocations: 0 / 438.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2965, allocations: 0 / 438.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2965, allocations: 7.938 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2967, allocations: 193.6 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2967, allocations: 0 / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.2968, allocations: 31.92 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2968, allocations: 0 / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2968, allocations: 4 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2968, allocations: 4 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2968, allocations: 0 / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.2972, allocations: 260.9 kB / 438.9 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2973, allocations: 104.9 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.2973, allocations: 8 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.2974, allocations: 11.98 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.2975, allocations: 3.938 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2975, allocations: 8 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.2976, allocations: 112.1 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2976, allocations: 4 kB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.2978, allocations: 20 kB / 439.1 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.0001465/0.298, allocations: 99.25 kB / 439.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.2983, allocations: 107.8 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2983, allocations: 0 / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.2983, allocations: 11.92 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.2988, allocations: 88.33 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.0005712/0.2994, allocations: 299.3 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.2998, allocations: 0.7202 MB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2998, allocations: 19.44 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2998, allocations: 0 / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Templates: time 0.003622/0.3034, allocations: 1.511 MB / 442 MB, free: 12.88 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 -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: 6.85722038988024]