Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001088/0.001088, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002632, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009513/0.0009513, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002258, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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 0.9079/0.9079, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08145/0.9894, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.801e-05, allocations: 2.875 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003555/0.003583, allocations: 2.037 MB / 241.6 MB, free: 1.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.005335, allocations: 1.195 MB / 242.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.005439, allocations: 7.938 kB / 242.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.00565, allocations: 71.53 kB / 242.9 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.005835, allocations: 99.34 kB / 242.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.006557, allocations: 302.9 kB / 243.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.00689, allocations: 211.4 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.00702, allocations: 38.48 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.007214, allocations: 159.6 kB / 243.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.007348, allocations: 87.75 kB / 243.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.007372, allocations: 12 kB / 243.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.007524, allocations: 75.94 kB / 243.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.007583, allocations: 51.8 kB / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.007631, allocations: 43.81 kB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.007877, allocations: 207.2 kB / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-05/0.007897, allocations: 0 / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.007898, allocations: 4 kB / 244.1 MB, free: 14.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.007917, allocations: 0 / 244.1 MB, free: 14.58 MB / 250.7 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.0006457/0.008563, allocations: 0.52 MB / 244.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.008599, allocations: 12.03 kB / 244.6 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.008652, allocations: 28.91 kB / 244.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.00891, allocations: 229.8 kB / 244.9 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.008932, allocations: 12.36 kB / 244.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.008948, allocations: 12.38 kB / 244.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.009257, allocations: 267.6 kB / 245.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.009267, allocations: 3.938 kB / 245.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.009278, allocations: 4 kB / 245.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.009284, allocations: 4 kB / 245.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.009343, allocations: 37.56 kB / 245.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.009617, allocations: 226.3 kB / 245.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.009782, allocations: 180.4 kB / 245.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.009838, allocations: 54.55 kB / 245.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.009863, allocations: 11.94 kB / 245.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.982e-05/0.009963, allocations: 74.16 kB / 245.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.009964, allocations: 0 / 245.8 MB, free: 12.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001962/0.01016, allocations: 141.5 kB / 245.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.01022, allocations: 118.8 kB / 246 MB, free: 12.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.0104, allocations: 272.6 kB / 246.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.01043, allocations: 33.7 kB / 246.3 MB, free: 12.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.01048, allocations: 105.1 kB / 246.4 MB, free: 12.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.01051, allocations: 27.78 kB / 246.5 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.01056, allocations: 45.66 kB / 246.5 MB, free: 11.98 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.01066, allocations: 334.7 kB / 246.8 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.01068, allocations: 18.81 kB / 246.8 MB, free: 11.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/0.01074, allocations: 79.7 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/0.01082, allocations: 82.73 kB / 247 MB, free: 11.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01082, allocations: 0 / 247 MB, free: 11.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001072/0.01093, allocations: 108.2 kB / 247.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01095, allocations: 4 kB / 247.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.01095, allocations: 4 kB / 247.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.01097, allocations: 0 / 247.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.01105, allocations: 24.14 kB / 247.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01105, allocations: 0 / 247.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.0111, allocations: 15.94 kB / 247.2 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.0111, allocations: 4 kB / 247.2 MB, free: 11.25 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$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 (16): * Single equations (assignments): 16 * 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 8.73e-05/0.01119, allocations: 132.6 kB / 247.3 MB, free: 11.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.01127, allocations: 93.5 kB / 247.4 MB, free: 11.01 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.01139, allocations: 87.47 kB / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01139, allocations: 0 / 247.5 MB, free: 10.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01139, allocations: 4 kB / 247.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.0114, allocations: 7.984 kB / 247.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.01151, allocations: 122 kB / 247.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01151, allocations: 3.938 kB / 247.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.01159, allocations: 39.98 kB / 247.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.01164, allocations: 43.72 kB / 247.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01164, allocations: 0 / 247.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01165, allocations: 3.984 kB / 247.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01165, allocations: 4 kB / 247.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01165, allocations: 0 / 247.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.796e-05/0.01175, allocations: 115.7 kB / 247.8 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.01178, allocations: 15.92 kB / 247.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.01182, allocations: 4 kB / 247.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.01186, allocations: 11.98 kB / 247.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.01187, allocations: 4 kB / 247.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.01195, allocations: 107.5 kB / 247.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01195, allocations: 0 / 247.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.01211, allocations: 43.94 kB / 248 MB, free: 10.35 MB / 250.7 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.001173/0.01329, allocations: 0.5783 MB / 248.6 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.0134, allocations: 72.75 kB / 248.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.485e-06/0.01341, allocations: 4 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.01344, allocations: 24.78 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01367, allocations: 137.2 kB / 248.8 MB, free: 9.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.0142, allocations: 406.7 kB / 249.2 MB, free: 9.367 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.01425, allocations: 100.3 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.01429, allocations: 30.39 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.01439, allocations: 99.28 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01439, allocations: 0 / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of Templates: time 0.005367/0.01976, allocations: 3.872 MB / 253.3 MB, free: 5.312 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.638018044643104]