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.001458/0.001458, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00161/0.00161, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.003005/0.003005, allocations: 55.91 kB / 378.2 MB, free: 2.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.318, allocations: 53.42 MB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003573/0.3215, allocations: 1.95 MB / 433.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3239, allocations: 1.28 MB / 434.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.3241, allocations: 7.938 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.3244, allocations: 67.59 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.3248, allocations: 147.4 kB / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007854/0.3256, allocations: 274.5 kB / 435.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.3259, allocations: 227.4 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.3261, allocations: 28.58 kB / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.3262, allocations: 107.5 kB / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3264, allocations: 95.59 kB / 435.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.3264, allocations: 16 kB / 435.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.3266, allocations: 79.94 kB / 435.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.3267, allocations: 79.67 kB / 436 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.3268, allocations: 71.48 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.3272, allocations: 305 kB / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3272, allocations: 0 / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3272, allocations: 0 / 436.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3273, allocations: 0 / 436.3 MB, free: 1.84 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.0008963/0.3282, allocations: 0.5255 MB / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3282, allocations: 11.98 kB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.246e-05/0.3283, allocations: 32.75 kB / 436.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3287, allocations: 254.5 kB / 437.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3287, allocations: 12.38 kB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3287, allocations: 16.36 kB / 437.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.3293, allocations: 343.5 kB / 437.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3294, allocations: 0 / 437.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.3294, allocations: 8 kB / 437.5 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3294, allocations: 3.938 kB / 437.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.3296, allocations: 75.89 kB / 437.6 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.3301, allocations: 334 kB / 437.9 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.3306, allocations: 196.2 kB / 438.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3307, allocations: 90.52 kB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3308, allocations: 4 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3309, allocations: 83.31 kB / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.3309, allocations: 0 / 438.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005819/0.3315, allocations: 253.3 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.3316, allocations: 148.5 kB / 438.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.332, allocations: 356.2 kB / 439 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.3321, allocations: 29.7 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3322, allocations: 132.6 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3322, allocations: 39.75 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.3323, allocations: 53.89 kB / 439.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3324, allocations: 342.8 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3325, allocations: 44.44 kB / 439.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.3328, allocations: 237.4 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.3331, allocations: 223.8 kB / 440.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3331, allocations: 0 / 440.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004197/0.3335, allocations: 237.6 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3335, allocations: 12.03 kB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3335, allocations: 7.938 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3336, allocations: 4 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.3337, allocations: 39.92 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3337, allocations: 4 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3338, allocations: 15.98 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3338, allocations: 12 kB / 440.4 MB, free: 13.36 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.0001846/0.334, allocations: 183.6 kB / 440.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.3343, allocations: 145.4 kB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.3345, allocations: 127.4 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3345, allocations: 7.938 kB / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3345, allocations: 0 / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3345, allocations: 0 / 440.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.3348, allocations: 201.1 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3348, allocations: 0 / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3349, allocations: 31.91 kB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3349, allocations: 4 kB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3349, allocations: 8 kB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3349, allocations: 4 kB / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3349, allocations: 0 / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.3353, allocations: 254.8 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3355, allocations: 51.84 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.3355, allocations: 11.98 kB / 441.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3356, allocations: 8 kB / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.3357, allocations: 11.98 kB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.3357, allocations: 11.98 kB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002747/0.336, allocations: 259 kB / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.336, allocations: 0 / 441.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.3363, allocations: 55.92 kB / 441.8 MB, free: 11.94 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 (23): * Single equations (assignments): 21 * 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.001697/0.338, allocations: 463.1 kB / 442.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.3383, allocations: 152.4 kB / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3383, allocations: 256 / 442.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.3384, allocations: 35.98 kB / 442.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.3389, allocations: 127.2 kB / 442.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008441/0.3398, allocations: 477.8 kB / 443 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.34, allocations: 161.4 kB / 443.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.34, allocations: 30.67 kB / 443.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.479e-05/0.3401, allocations: 31.42 kB / 443.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3401, allocations: 0 / 443.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Templates: time 0.008816/0.3489, allocations: 3.9 MB / 447.1 MB, free: 6.719 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: 4.697885336354375]