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.0009628/0.0009628, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009553/0.0009553, allocations: 141.2 kB / 24.89 MB, free: 9.203 MB / 18.57 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 1.011/1.011, allocations: 173.3 MB / 201.5 MB, free: 9.199 MB / 186.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 1.513e-06/1.513e-06, allocations: 0 / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.147e-05, allocations: 10.31 kB / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.006124/0.006145, allocations: 2.034 MB / 270.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.01078, allocations: 1.188 MB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.01088, allocations: 7.938 kB / 271.7 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.01116, allocations: 71.55 kB / 271.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.01138, allocations: 95.47 kB / 271.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.01198, allocations: 302.9 kB / 272.2 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.01222, allocations: 219.3 kB / 272.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.01232, allocations: 38.45 kB / 272.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.0155, allocations: 127.6 kB / 272.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.01563, allocations: 83.77 kB / 272.7 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.01565, allocations: 12 kB / 272.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.01582, allocations: 79.88 kB / 272.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.01589, allocations: 67.75 kB / 272.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.01595, allocations: 55.78 kB / 272.9 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.01622, allocations: 227.1 kB / 273.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01622, allocations: 0 / 273.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01622, allocations: 0 / 273.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.01623, allocations: 4 kB / 273.1 MB, free: 1.543 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.0005352/0.01676, allocations: 488.8 kB / 273.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.01679, allocations: 8.031 kB / 273.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.01685, allocations: 24.92 kB / 273.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.0171, allocations: 237.8 kB / 273.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.01712, allocations: 12.36 kB / 273.8 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.01714, allocations: 16.38 kB / 273.9 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.01747, allocations: 252.5 kB / 274.1 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01748, allocations: 3.938 kB / 274.1 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.01749, allocations: 8 kB / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.0175, allocations: 0 / 274.1 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.725e-05/0.01757, allocations: 45.56 kB / 274.2 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.01785, allocations: 214.3 kB / 274.4 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.01805, allocations: 188.3 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.01811, allocations: 50.5 kB / 274.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.01813, allocations: 7.938 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/0.01822, allocations: 78.19 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.01823, allocations: 0 / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.00323/0.02146, allocations: 137.7 kB / 274.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.02152, allocations: 122.7 kB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.02173, allocations: 276.6 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.02175, allocations: 25.7 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.0218, allocations: 113.1 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.02182, allocations: 27.77 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.02187, allocations: 37.69 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.02196, allocations: 338.8 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.02199, allocations: 14.83 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.02205, allocations: 83.69 kB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.02213, allocations: 74.72 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02213, allocations: 4 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001306/0.02226, allocations: 112.2 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.02227, allocations: 4 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.02228, allocations: 4 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.02229, allocations: 0 / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.02236, allocations: 19.98 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.02237, allocations: 0 / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.02242, allocations: 15.94 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.02243, allocations: 4 kB / 276.1 MB, free: 14.27 MB / 266.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.817e-05/0.02252, allocations: 136.6 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.02262, allocations: 97.52 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.02273, allocations: 87.86 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.02273, allocations: 0 / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.02274, allocations: 4 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02274, allocations: 7.922 kB / 276.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.02286, allocations: 117.8 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02286, allocations: 3.938 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.02295, allocations: 27.98 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.02296, allocations: 4 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.02297, allocations: 16.05 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.02297, allocations: 8 kB / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02297, allocations: 0 / 276.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.02308, allocations: 111.2 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.02314, allocations: 35.78 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.02317, allocations: 15.92 kB / 276.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.823e-05/0.02322, allocations: 4 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.02326, allocations: 11.98 kB / 276.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.02327, allocations: 4 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.02338, allocations: 107.5 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02338, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.0236, allocations: 47.92 kB / 276.9 MB, free: 13.36 MB / 266.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.004262/0.02786, allocations: 0.5248 MB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.028, allocations: 68.77 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.02801, allocations: 4 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.02805, allocations: 25.09 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.02834, allocations: 131.6 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.02881, allocations: 402.8 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.02887, allocations: 100.3 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.02893, allocations: 25.92 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.02905, allocations: 91.36 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02905, allocations: 0 / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01221/0.04126, allocations: 3.817 MB / 282.1 MB, free: 8.426 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.694538121111691]