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.001844/0.001844, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.0021/0.0021, allocations: 169.3 kB / 24.28 MB, free: 152 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.603/1.603, allocations: 177.2 MB / 204.6 MB, free: 5.59 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.203e-06/1.203e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.451e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003832/0.003857, allocations: 1.985 MB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.006399, allocations: 1.305 MB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006508, allocations: 7.938 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.006828, allocations: 71.53 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.007237, allocations: 143.3 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.007956, allocations: 271 kB / 276.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.00829, allocations: 227.3 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.008667, allocations: 36.55 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.00887, allocations: 127.6 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.009055, allocations: 91.75 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.009094, allocations: 16 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.009274, allocations: 75.89 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.009378, allocations: 67.75 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.009467, allocations: 55.77 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.009922, allocations: 314.8 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.009924, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.009924, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.00993, allocations: 0 / 277.1 MB, free: 13.05 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.0009844/0.01091, allocations: 0.6369 MB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.01097, allocations: 12.03 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.795e-05/0.01106, allocations: 40.75 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.0115, allocations: 252.6 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.01152, allocations: 12.38 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.01155, allocations: 12.38 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006548/0.0122, allocations: 341.7 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.01222, allocations: 3.938 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.01224, allocations: 8 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.01224, allocations: 0 / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.01241, allocations: 59.91 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.01307, allocations: 426.9 kB / 278.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.01347, allocations: 201.2 kB / 279 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.01364, allocations: 87.16 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.01368, allocations: 7.984 kB / 279.1 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.01386, allocations: 80.98 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.01386, allocations: 0 / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005792/0.01444, allocations: 237.5 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.01459, allocations: 148.5 kB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.01507, allocations: 398.3 kB / 280 MB, free: 9.863 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.01511, allocations: 33.7 kB / 280 MB, free: 9.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.01527, allocations: 195.3 kB / 280.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.01531, allocations: 27.86 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.0154, allocations: 59.34 kB / 280.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000305/0.0157, allocations: 0.5196 MB / 280.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.01577, allocations: 23.98 kB / 280.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01596, allocations: 160.9 kB / 281 MB, free: 8.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.01615, allocations: 114 kB / 281.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01616, allocations: 4.031 kB / 281.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002871/0.01644, allocations: 157.3 kB / 281.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01646, allocations: 8 kB / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01647, allocations: 0 / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01648, allocations: 4 kB / 281.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01659, allocations: 15.98 kB / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01659, allocations: 0 / 281.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.01667, allocations: 7.938 kB / 281.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01668, allocations: 12.16 kB / 281.3 MB, free: 8.43 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.0001899/0.01687, allocations: 196.4 kB / 281.5 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.0171, allocations: 133.4 kB / 281.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.01737, allocations: 123.4 kB / 281.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01738, allocations: 0 / 281.8 MB, free: 7.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01738, allocations: 4 kB / 281.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01739, allocations: 0 / 281.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.01767, allocations: 232.7 kB / 282 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01767, allocations: 0 / 282 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.01781, allocations: 39.97 kB / 282 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01782, allocations: 8 kB / 282 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.01783, allocations: 3.938 kB / 282 MB, free: 7.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01783, allocations: 4 kB / 282 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01784, allocations: 3.938 kB / 282 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.01827, allocations: 262.3 kB / 282.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.01837, allocations: 39.83 kB / 282.3 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.01841, allocations: 8 kB / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.0185, allocations: 11.98 kB / 282.4 MB, free: 7.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.01855, allocations: 11.98 kB / 282.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.01857, allocations: 4 kB / 282.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.01886, allocations: 263 kB / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01886, allocations: 0 / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.01914, allocations: 47.88 kB / 282.7 MB, free: 6.977 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.002883/0.02202, allocations: 485.4 kB / 283.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.02233, allocations: 115.4 kB / 283.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02233, allocations: 320 / 283.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/0.02242, allocations: 43.66 kB / 283.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.02295, allocations: 124.2 kB / 283.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.02398, allocations: 447.4 kB / 283.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.02416, allocations: 153.2 kB / 284 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.084e-05/0.02424, allocations: 34.31 kB / 284 MB, free: 5.719 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.02431, allocations: 28.5 kB / 284.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02431, allocations: 0 / 284.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of Templates: time 0.00878/0.0331, allocations: 3.648 MB / 287.7 MB, free: 2.09 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] 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.711234483984299]