Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001453/0.001453, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001719/0.001719, allocations: 161 kB / 24.56 MB, free: 16 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.105/1.105, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.653e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002744/0.002781, allocations: 1.795 MB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.00395, allocations: 0.6036 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.004081, allocations: 7.938 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.007161, allocations: 11.86 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.007356, allocations: 11.86 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.007906, allocations: 107.6 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.008078, allocations: 95.69 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.008215, allocations: 25.62 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.008431, allocations: 63.81 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.008505, allocations: 27.89 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.008533, allocations: 8 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.008595, allocations: 12 kB / 275.8 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.008665, allocations: 23.91 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.008719, allocations: 31.86 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.008934, allocations: 87.64 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.008938, allocations: 0 / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.00894, allocations: 3.938 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.008947, allocations: 3.984 kB / 275.9 MB, free: 14.6 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006084/0.009555, allocations: 452.1 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.009608, allocations: 8.031 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.009774, allocations: 32.83 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.01306, allocations: 173 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.01309, allocations: 8.375 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.01311, allocations: 12.38 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.01356, allocations: 253.5 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01357, allocations: 192 / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.01358, allocations: 8.375 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01359, allocations: 7.875 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.01366, allocations: 27.92 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.01402, allocations: 303 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.01424, allocations: 133.3 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.01432, allocations: 55.16 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.01435, allocations: 7.984 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.01438, allocations: 45.33 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/0.01438, allocations: 0 / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003135/0.01469, allocations: 149.6 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.01477, allocations: 114.8 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.01491, allocations: 214.4 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.01493, allocations: 29.7 kB / 277.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.015, allocations: 134.9 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.01503, allocations: 19.89 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.01507, allocations: 27.38 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01523, allocations: 0.4884 MB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.01526, allocations: 12 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.01531, allocations: 54.42 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.01539, allocations: 70.48 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.0154, allocations: 0 / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001314/0.01553, allocations: 85.5 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.01555, allocations: 11.94 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01555, allocations: 160 / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.01557, allocations: 8 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.01567, allocations: 7.938 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.01568, allocations: 3.984 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.01571, allocations: 4 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.01572, allocations: 4 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($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 (9): * Single equations (assignments): 9 * 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.003124/0.01885, allocations: 163.8 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/0.01932, allocations: 114 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.01937, allocations: 16.78 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.01937, allocations: 0 / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01938, allocations: 8 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01938, allocations: 3.984 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.01954, allocations: 156.4 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01955, allocations: 3.938 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.01964, allocations: 19.98 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.01965, allocations: 4 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.01966, allocations: 7.938 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.01967, allocations: 4 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01967, allocations: 0 / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.01991, allocations: 284.9 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.01997, allocations: 27.94 kB / 279.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.02, allocations: 7.938 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.02007, allocations: 8 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.02011, allocations: 0 / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.02012, allocations: 7.984 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.663e-05/0.02019, allocations: 151.2 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02019, allocations: 0 / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.02044, allocations: 19.98 kB / 279.8 MB, free: 10.31 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * 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 (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001215/0.02057, allocations: 99.19 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.02073, allocations: 63.64 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.02073, allocations: 0 / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.02075, allocations: 15.67 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.0212, allocations: 71.81 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.02496, allocations: 273.8 kB / 280.3 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.348e-05/0.02502, allocations: 75.33 kB / 280.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.02506, allocations: 9.359 kB / 280.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.0251, allocations: 16.5 kB / 280.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.0251, allocations: 0 / 280.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of Templates: time 0.007185/0.03229, allocations: 1.228 MB / 281.6 MB, free: 8.418 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.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: 3.2613333761692047]