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.001027/0.001027, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001049/0.001049, allocations: 168.6 kB / 25 MB, free: 8.863 MB / 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.637 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 1.934e-06/1.934e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.332e-05, allocations: 2.312 kB / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003951/0.003985, allocations: 1.799 MB / 274.9 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.005324, allocations: 0.6077 MB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.005451, allocations: 3.938 kB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.774e-05/0.005519, allocations: 7.875 kB / 275.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.005704, allocations: 19.8 kB / 275.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.006205, allocations: 95.64 kB / 275.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.006397, allocations: 99.67 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.006532, allocations: 13.64 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.006751, allocations: 67.8 kB / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.00683, allocations: 39.89 kB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.006857, allocations: 8 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.006907, allocations: 8 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.006971, allocations: 27.91 kB / 275.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.007026, allocations: 35.78 kB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.007258, allocations: 75.72 kB / 276 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007261, allocations: 0 / 276 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007263, allocations: 7.938 kB / 276 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.007269, allocations: 0 / 276 MB, free: 14.9 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.0006077/0.007877, allocations: 448 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.007925, allocations: 16.03 kB / 276.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.008126, allocations: 32.83 kB / 276.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.008413, allocations: 173 kB / 276.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.008444, allocations: 8.375 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.008464, allocations: 8.375 kB / 276.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.00899, allocations: 259.1 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009001, allocations: 192 / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.009016, allocations: 4.375 kB / 276.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.00903, allocations: 11.88 kB / 276.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.923e-05/0.009119, allocations: 31.92 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.009518, allocations: 303 kB / 277.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.009791, allocations: 129.3 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.009902, allocations: 59.19 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.009936, allocations: 7.984 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.009974, allocations: 49.31 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.943e-06/0.009976, allocations: 3.938 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003895/0.01037, allocations: 137.6 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.01046, allocations: 122.7 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01062, allocations: 210.6 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.01064, allocations: 29.7 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.01071, allocations: 138.9 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.01074, allocations: 11.89 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.01078, allocations: 31.38 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.01095, allocations: 0.4923 MB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.01098, allocations: 4 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.01103, allocations: 54.42 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.13e-05/0.01112, allocations: 70.31 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01113, allocations: 0 / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001482/0.01127, allocations: 81.56 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01129, allocations: 7.938 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.0113, allocations: 4 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.01132, allocations: 0 / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.01141, allocations: 8.094 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.01142, allocations: 8 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.01147, allocations: 7.984 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01147, allocations: 4 kB / 278.9 MB, free: 11.67 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.0001132/0.01159, allocations: 164 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.01179, allocations: 121.9 kB / 279.2 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.01183, allocations: 16.78 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01184, allocations: 4 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01184, allocations: 0 / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01185, allocations: 0 / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.01204, allocations: 148.5 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01204, allocations: 11.92 kB / 279.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01215, allocations: 20 kB / 279.4 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.01216, allocations: 3.984 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.01217, allocations: 7.938 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01218, allocations: 0 / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01218, allocations: 0 / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01246, allocations: 293.1 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.01253, allocations: 19.94 kB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.01256, allocations: 11.94 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.01265, allocations: 0 / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.01269, allocations: 12 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.0127, allocations: 7.984 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.34e-05/0.0128, allocations: 151.1 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0128, allocations: 0 / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01309, allocations: 12 kB / 279.9 MB, free: 10.61 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.0001415/0.01323, allocations: 111.2 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.0134, allocations: 51.64 kB / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0134, allocations: 0 / 280 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.01342, allocations: 20 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.01395, allocations: 75.8 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.01472, allocations: 265.8 kB / 280.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.01478, allocations: 75.33 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.01483, allocations: 8.969 kB / 280.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.01488, allocations: 20.5 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01488, allocations: 0 / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of Templates: time 0.004508/0.01938, allocations: 1.233 MB / 281.7 MB, free: 8.715 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: 2.9328555290121585]