Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.433e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.00355/0.003575, allocations: 1.96 MB / 274.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.006324, allocations: 1.28 MB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.006435, allocations: 7.938 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.00673, allocations: 79.47 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.007108, allocations: 139.4 kB / 275.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.007829, allocations: 267 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.008166, allocations: 227.3 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.008275, allocations: 32.52 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.008469, allocations: 131.6 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.008626, allocations: 91.77 kB / 276.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.008657, allocations: 16 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.008823, allocations: 79.86 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.008915, allocations: 67.75 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.538e-05/0.00901, allocations: 55.78 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.009453, allocations: 310.9 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.009456, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.009457, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.009461, allocations: 0 / 277 MB, free: 13.08 MB / 266.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.0008974/0.01036, allocations: 0.5178 MB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.01039, allocations: 12.02 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.01049, allocations: 44.75 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.0109, allocations: 257.8 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.01093, allocations: 12.38 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.01097, allocations: 12.38 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.01161, allocations: 344.7 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01162, allocations: 3.938 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.01164, allocations: 4 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01164, allocations: 4 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.01183, allocations: 71.94 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.01239, allocations: 342 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.01279, allocations: 191.9 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.01298, allocations: 82.53 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.01301, allocations: 11.94 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.01319, allocations: 79.38 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.01319, allocations: 3.938 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006235/0.01381, allocations: 273.5 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.01394, allocations: 140.5 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.01436, allocations: 360.2 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.01439, allocations: 33.64 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.01451, allocations: 136.6 kB / 279.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.01454, allocations: 23.84 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01461, allocations: 37.7 kB / 280 MB, free: 9.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.0148, allocations: 338.8 kB / 280.3 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.0149, allocations: 27.98 kB / 280.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.01507, allocations: 146.2 kB / 280.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.01528, allocations: 109 kB / 280.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01528, allocations: 0 / 280.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003097/0.01559, allocations: 165.3 kB / 280.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.0156, allocations: 8 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01561, allocations: 3.938 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01562, allocations: 4.156 kB / 280.8 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.01571, allocations: 19.98 kB / 280.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01572, allocations: 0 / 280.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.01582, allocations: 11.92 kB / 280.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01583, allocations: 8 kB / 280.8 MB, free: 9.004 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 0.0001669/0.016, allocations: 165.7 kB / 281 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.01625, allocations: 157.4 kB / 281.1 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.01655, allocations: 127.5 kB / 281.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.01655, allocations: 4 kB / 281.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01656, allocations: 4 kB / 281.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01656, allocations: 3.938 kB / 281.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.0168, allocations: 197.4 kB / 281.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.0168, allocations: 4 kB / 281.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.01693, allocations: 27.98 kB / 281.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.01694, allocations: 7.984 kB / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01696, allocations: 4 kB / 281.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01696, allocations: 7.938 kB / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01696, allocations: 0 / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.01763, allocations: 265.2 kB / 281.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.01774, allocations: 47.83 kB / 281.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.01778, allocations: 8 kB / 281.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.01786, allocations: 7.984 kB / 281.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.01792, allocations: 15.97 kB / 281.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.01794, allocations: 8 kB / 281.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000292/0.01823, allocations: 259 kB / 282.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01823, allocations: 0 / 282.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000282/0.01852, allocations: 47.89 kB / 282.1 MB, free: 7.586 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.001967/0.02048, allocations: 478.9 kB / 282.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.0208, allocations: 123.7 kB / 282.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0208, allocations: 0 / 282.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.02089, allocations: 31.98 kB / 282.8 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.02143, allocations: 124.7 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008419/0.02227, allocations: 483.8 kB / 283.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.02246, allocations: 169.7 kB / 283.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.992e-05/0.02255, allocations: 26.34 kB / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.02263, allocations: 32.48 kB / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of SimCode: time 4.7e-07/0.02263, allocations: 0 / 283.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of Templates: time 0.008209/0.03084, allocations: 3.654 MB / 287.2 MB, free: 2.668 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.407730295090005]