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.001313/0.001313, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.0014/0.0014, allocations: 213.5 kB / 24.5 MB, free: 4.148 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.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.001982/0.001982, allocations: 59.89 kB / 379 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 53.41 MB / 432.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004023/0.3504, allocations: 1.781 MB / 434.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3519, allocations: 0.6193 MB / 434.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.352, allocations: 3.938 kB / 434.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.316e-05/0.3521, allocations: 11.86 kB / 434.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3523, allocations: 15.81 kB / 434.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.3529, allocations: 103.7 kB / 435 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.3531, allocations: 95.69 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.3533, allocations: 21.62 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3534, allocations: 51.78 kB / 435.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3536, allocations: 51.72 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3536, allocations: 4 kB / 435.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.3536, allocations: 19.92 kB / 435.2 MB, free: 4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.3537, allocations: 27.92 kB / 435.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/0.3538, allocations: 47.66 kB / 435.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.354, allocations: 116.7 kB / 435.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3541, allocations: 0 / 435.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3541, allocations: 0 / 435.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3541, allocations: 0 / 435.4 MB, free: 3.816 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.0006873/0.3548, allocations: 353.8 kB / 435.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3548, allocations: 12.03 kB / 435.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.355, allocations: 24.83 kB / 435.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.3554, allocations: 166.9 kB / 436 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3554, allocations: 8.375 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.3555, allocations: 12.38 kB / 436 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.3561, allocations: 276.9 kB / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3561, allocations: 0 / 436.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3561, allocations: 4 kB / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3561, allocations: 0 / 436.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.3563, allocations: 51.91 kB / 436.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.3568, allocations: 285.5 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.3571, allocations: 127.9 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3572, allocations: 66.62 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.3572, allocations: 8.125 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3573, allocations: 42.56 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.3573, allocations: 0 / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004907/0.3578, allocations: 173.4 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3579, allocations: 114.8 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.358, allocations: 154.3 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3581, allocations: 38.08 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.3582, allocations: 96.08 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3582, allocations: 19.89 kB / 437.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.3583, allocations: 33.72 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3585, allocations: 330.7 kB / 437.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.858e-05/0.3585, allocations: 27.98 kB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3587, allocations: 134.1 kB / 437.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.359, allocations: 178.3 kB / 438.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.359, allocations: 4 kB / 438.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003124/0.3593, allocations: 177.7 kB / 438.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3593, allocations: 8 kB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3593, allocations: 8.031 kB / 438.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.3594, allocations: 4 kB / 438.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.3595, allocations: 31.92 kB / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3595, allocations: 8 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.3596, allocations: 11.92 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.3596, allocations: 12 kB / 438.3 MB, free: 0.5391 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.0001647/0.3598, allocations: 136.5 kB / 438.5 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.36, allocations: 125.5 kB / 438.6 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.3601, allocations: 24.66 kB / 438.6 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3601, allocations: 3.984 kB / 438.6 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3601, allocations: 4 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.3601, allocations: 3.938 kB / 438.6 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3604, allocations: 168.6 kB / 438.8 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3604, allocations: 0 / 438.8 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.3605, allocations: 27.92 kB / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.538e-05/0.3605, allocations: 4.047 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3605, allocations: 4 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3605, allocations: 0 / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3605, allocations: 8 kB / 438.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.3609, allocations: 256.9 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.361, allocations: 31.81 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.361, allocations: 4 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.3611, allocations: 4 kB / 439.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3611, allocations: 15.94 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3612, allocations: 7.984 kB / 439.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.3613, allocations: 120.1 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3613, allocations: 0 / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3616, allocations: 20.09 kB / 439.3 MB, free: 15.51 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.0001564/0.3617, allocations: 103.2 kB / 439.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.362, allocations: 112.3 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.362, allocations: 0 / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.3621, allocations: 4 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3626, allocations: 76.14 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.3632, allocations: 300.5 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3636, allocations: 0.724 MB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.3637, allocations: 15.44 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3637, allocations: 3.938 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Templates: time 0.003887/0.3676, allocations: 1.495 MB / 442.1 MB, free: 12.62 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: 7.312950541963801]