Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002423/0.002423, allocations: 185 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 55.91 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3259, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004167/0.33, allocations: 1.742 MB / 424.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3312, allocations: 0.4987 MB / 425.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.3314, allocations: 7.938 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.3314, allocations: 7.875 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.3316, allocations: 27.78 kB / 425.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.3321, allocations: 95.77 kB / 425.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3323, allocations: 83.77 kB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3324, allocations: 21.3 kB / 425.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3326, allocations: 43.78 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.376e-05/0.3327, allocations: 43.72 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.3327, allocations: 8 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.3327, allocations: 4 kB / 425.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3328, allocations: 27.91 kB / 425.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.3329, allocations: 43.72 kB / 425.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3331, allocations: 105.7 kB / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3331, allocations: 0 / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3331, allocations: 4 kB / 425.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3331, allocations: 0 / 425.8 MB, free: 11.73 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.0006615/0.3338, allocations: 361.6 kB / 426.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3338, allocations: 12.03 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.3338, allocations: 16.84 kB / 426.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3342, allocations: 154.3 kB / 426.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3342, allocations: 12.38 kB / 426.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3342, allocations: 8.375 kB / 426.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.3348, allocations: 277.4 kB / 426.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3348, allocations: 3.938 kB / 426.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.3348, allocations: 7.984 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3349, allocations: 0 / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.335, allocations: 51.91 kB / 426.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.3354, allocations: 234.2 kB / 426.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3356, allocations: 127.8 kB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3358, allocations: 66.66 kB / 427.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3358, allocations: 7.984 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3358, allocations: 42.5 kB / 427.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.3358, allocations: 0 / 427.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000475/0.3363, allocations: 169.9 kB / 427.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3364, allocations: 126.7 kB / 427.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3366, allocations: 153.1 kB / 427.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3366, allocations: 25.7 kB / 427.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.3367, allocations: 92.14 kB / 427.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3367, allocations: 19.89 kB / 427.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.3368, allocations: 41.66 kB / 427.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3369, allocations: 327 kB / 428.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.337, allocations: 31.92 kB / 428.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3372, allocations: 138.5 kB / 428.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.3374, allocations: 174.4 kB / 428.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3374, allocations: 0 / 428.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003108/0.3378, allocations: 177.2 kB / 428.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3378, allocations: 8 kB / 428.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3378, allocations: 4.531 kB / 428.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3378, allocations: 4 kB / 428.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3379, allocations: 39.92 kB / 428.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.338, allocations: 4 kB / 428.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.338, allocations: 15.89 kB / 428.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3381, allocations: 15.94 kB / 428.7 MB, free: 8.52 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.0001294/0.3382, allocations: 134.1 kB / 428.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.3384, allocations: 121.5 kB / 429 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.3384, allocations: 16.72 kB / 429 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3384, allocations: 7.938 kB / 429 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3385, allocations: 0 / 429 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3385, allocations: 4 kB / 429 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.3386, allocations: 141.1 kB / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3386, allocations: 0 / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3388, allocations: 27.97 kB / 429.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3388, allocations: 0 / 429.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3388, allocations: 4 kB / 429.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3388, allocations: 0 / 429.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3388, allocations: 0 / 429.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.3391, allocations: 256.9 kB / 429.4 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.3392, allocations: 27.88 kB / 429.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3392, allocations: 8 kB / 429.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.3393, allocations: 8 kB / 429.5 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.3393, allocations: 4 kB / 429.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.3393, allocations: 4 kB / 429.5 MB, free: 7.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3394, allocations: 119.1 kB / 429.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3394, allocations: 0 / 429.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002881/0.3397, allocations: 23.98 kB / 429.6 MB, free: 7.562 MB / 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: 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.0001476/0.3399, allocations: 107.1 kB / 429.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.3402, allocations: 111.8 kB / 429.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3402, allocations: 0 / 429.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.3402, allocations: 7.938 kB / 429.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3407, allocations: 75.92 kB / 429.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.3412, allocations: 282.6 kB / 430.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3413, allocations: 110.1 kB / 430.3 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.93e-05/0.3414, allocations: 9.422 kB / 430.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.3414, allocations: 23.38 kB / 430.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3414, allocations: 0 / 430.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of Templates: time 0.004596/0.346, allocations: 1.388 MB / 431.7 MB, free: 5.426 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.68207454495132]