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.001391/0.001391, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001637/0.001637, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.534/1.534, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.001891/0.001891, allocations: 75.81 kB / 374.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1165, allocations: 53.31 MB / 428.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003441/0.12, allocations: 1.771 MB / 429.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1212, allocations: 0.6038 MB / 430.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.415e-05/0.1213, allocations: 7.875 kB / 430.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.162e-05/0.1213, allocations: 7.875 kB / 430.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1215, allocations: 23.78 kB / 430.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.1219, allocations: 111.4 kB / 430.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1221, allocations: 91.7 kB / 430.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1222, allocations: 21.44 kB / 430.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1224, allocations: 47.78 kB / 430.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.859e-05/0.1225, allocations: 51.75 kB / 430.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1225, allocations: 8 kB / 430.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.1225, allocations: 12 kB / 430.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.1226, allocations: 23.86 kB / 430.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.1227, allocations: 51.67 kB / 430.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1229, allocations: 111.5 kB / 431 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1229, allocations: 4 kB / 431 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1229, allocations: 0 / 431 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1229, allocations: 0 / 431 MB, free: 1.469 MB / 350.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.0006571/0.1236, allocations: 434.8 kB / 431.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1236, allocations: 8.031 kB / 431.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1238, allocations: 28.83 kB / 431.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1241, allocations: 232.1 kB / 431.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1241, allocations: 4.375 kB / 431.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1241, allocations: 16.36 kB / 431.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.1246, allocations: 265.9 kB / 432 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1247, allocations: 0 / 432 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1247, allocations: 4 kB / 432 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1247, allocations: 0 / 432 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1248, allocations: 51.91 kB / 432 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2383/0.3631, allocations: 314.6 kB / 432.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.3635, allocations: 124.2 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3636, allocations: 68.58 kB / 432.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.3637, allocations: 4.969 kB / 432.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3637, allocations: 39.2 kB / 432.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.906e-06/0.3637, allocations: 0 / 432.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005077/0.3642, allocations: 172.7 kB / 432.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.3643, allocations: 121.7 kB / 432.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3644, allocations: 159.5 kB / 433 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3645, allocations: 27.11 kB / 433 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.3645, allocations: 93.16 kB / 433.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.3645, allocations: 21.22 kB / 433.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3646, allocations: 34.77 kB / 433.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.923e-05/0.3646, allocations: 330.7 kB / 433.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.501e-05/0.3647, allocations: 26.38 kB / 433.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.3648, allocations: 138 kB / 433.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.365, allocations: 172.7 kB / 433.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.365, allocations: 0.9688 kB / 433.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002758/0.3653, allocations: 183.8 kB / 434 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3653, allocations: 7.031 kB / 434 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3653, allocations: 4.031 kB / 434 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.3654, allocations: 10.58 kB / 434 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3655, allocations: 29.59 kB / 434.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3655, allocations: 8.406 kB / 434.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/0.3656, allocations: 16.62 kB / 434.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3656, allocations: 8.719 kB / 434.1 MB, free: 10.2 MB / 350.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 9.661e-05/0.3657, allocations: 141.1 kB / 434.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.3659, allocations: 113.8 kB / 434.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.366, allocations: 23.08 kB / 434.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.366, allocations: 1.188 kB / 434.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.366, allocations: 1.281 kB / 434.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.366, allocations: 3.766 kB / 434.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3661, allocations: 197.8 kB / 434.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3661, allocations: 1.719 kB / 434.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3662, allocations: 31.39 kB / 434.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3662, allocations: 2.047 kB / 434.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.3663, allocations: 11.53 kB / 434.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3663, allocations: 1.875 kB / 434.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3663, allocations: 3.531 kB / 434.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3665, allocations: 250.9 kB / 434.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.3666, allocations: 106.6 kB / 435 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3666, allocations: 9.125 kB / 435 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.3667, allocations: 7.25 kB / 435 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3667, allocations: 4.984 kB / 435 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3668, allocations: 10.19 kB / 435 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.118e-05/0.3668, allocations: 116.6 kB / 435.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3668, allocations: 0 / 435.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3671, allocations: 21.66 kB / 435.1 MB, free: 9.516 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.0001079/0.3672, allocations: 104.5 kB / 435.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3675, allocations: 114 kB / 435.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3675, allocations: 0 / 435.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.648e-05/0.3675, allocations: 8.297 kB / 435.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.368, allocations: 86.03 kB / 435.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.3684, allocations: 295 kB / 435.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.3686, allocations: 0.7236 MB / 436.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.3686, allocations: 15.16 kB / 436.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3686, allocations: 0 / 436.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of Templates: time 0.003676/0.3723, allocations: 1.497 MB / 438 MB, free: 8.418 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.994013054994866]