Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001842/0.001842, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.001993/0.001993, allocations: 218.6 kB / 22.99 MB, free: 5.578 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.655/1.655, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 71.83 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4161, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.00377/0.4198, allocations: 2.012 MB / 431.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.4224, allocations: 1.363 MB / 433.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.4225, allocations: 7.938 kB / 433.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.4229, allocations: 71.59 kB / 433.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004089/0.4233, allocations: 151.4 kB / 433.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.4241, allocations: 262.3 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.4245, allocations: 223.4 kB / 433.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.4246, allocations: 32.3 kB / 433.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.4247, allocations: 95.61 kB / 434 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.4249, allocations: 115.5 kB / 434.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.4249, allocations: 16 kB / 434.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.4251, allocations: 75.94 kB / 434.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.689e-05/0.4252, allocations: 71.75 kB / 434.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.4253, allocations: 95.3 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.4258, allocations: 296 kB / 434.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4258, allocations: 0 / 434.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4258, allocations: 0 / 434.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.4258, allocations: 0 / 434.6 MB, free: 2.68 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009401/0.4267, allocations: 0.6047 MB / 435.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4268, allocations: 12.03 kB / 435.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.4268, allocations: 32.75 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.4273, allocations: 315.7 kB / 435.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.4273, allocations: 16.36 kB / 435.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.4273, allocations: 16.31 kB / 435.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.4279, allocations: 327.6 kB / 435.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.428, allocations: 4 kB / 436 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.428, allocations: 4 kB / 436 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.428, allocations: 4 kB / 436 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.4282, allocations: 71.89 kB / 436 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.4288, allocations: 410.3 kB / 436.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.4292, allocations: 187.9 kB / 436.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.4293, allocations: 82.53 kB / 436.7 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.4294, allocations: 12.22 kB / 436.7 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.4296, allocations: 87.3 kB / 436.8 MB, free: 308 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.014e-06/0.4296, allocations: 0 / 436.8 MB, free: 308 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005886/0.4301, allocations: 249.3 kB / 437 MB, free: 52 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.4303, allocations: 178.1 kB / 437.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.4307, allocations: 358.9 kB / 437.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.4307, allocations: 25.7 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4308, allocations: 136.7 kB / 437.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.4309, allocations: 39.77 kB / 437.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.4309, allocations: 53.89 kB / 437.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4311, allocations: 342.8 kB / 438.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4312, allocations: 40.44 kB / 438.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.4315, allocations: 190.9 kB / 438.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.4318, allocations: 215.2 kB / 438.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4318, allocations: 0 / 438.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004005/0.4322, allocations: 233.5 kB / 438.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4322, allocations: 11.94 kB / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4322, allocations: 4 kB / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4322, allocations: 4.375 kB / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.4324, allocations: 43.91 kB / 438.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4324, allocations: 4 kB / 438.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.4325, allocations: 19.89 kB / 438.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.4325, allocations: 19.94 kB / 438.9 MB, free: 13.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001896/0.4327, allocations: 180.1 kB / 439.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.4329, allocations: 141.4 kB / 439.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.4332, allocations: 123.8 kB / 439.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4332, allocations: 4 kB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.4333, allocations: 4.062 kB / 439.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4333, allocations: 3.938 kB / 439.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.4336, allocations: 269.4 kB / 439.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4336, allocations: 0 / 439.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.4337, allocations: 39.91 kB / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4337, allocations: 0 / 439.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.4337, allocations: 8 kB / 439.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4337, allocations: 0 / 439.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4337, allocations: 4 kB / 439.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.4341, allocations: 249.8 kB / 439.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.4343, allocations: 128.9 kB / 440 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.4343, allocations: 11.98 kB / 440.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.4344, allocations: 4 kB / 440.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.4345, allocations: 11.98 kB / 440.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.4345, allocations: 8 kB / 440.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.4348, allocations: 253.9 kB / 440.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4348, allocations: 0 / 440.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.4351, allocations: 51.88 kB / 440.4 MB, free: 12.4 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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001584/0.4367, allocations: 432.5 kB / 440.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.4371, allocations: 151.6 kB / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4371, allocations: 1.062 kB / 440.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.4372, allocations: 27.98 kB / 441 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.4378, allocations: 127.8 kB / 441.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.4387, allocations: 481.6 kB / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.4392, allocations: 0.7792 MB / 442.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.92e-05/0.4393, allocations: 26.3 kB / 442.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/0.4393, allocations: 27.42 kB / 442.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4393, allocations: 0 / 442.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Templates: time 0.008726/0.4481, allocations: 3.612 MB / 446 MB, free: 6.859 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.394894389435649]