Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.001088/0.001088, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001981/0.001981, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.078/1.078, allocations: 173.4 MB / 201.1 MB, free: 9.328 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.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.223e-05, allocations: 10.19 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003662/0.003695, allocations: 1.784 MB / 269.8 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004936, allocations: 0.5296 MB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.005061, allocations: 3.938 kB / 270.3 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.453e-05/0.005146, allocations: 15.86 kB / 270.3 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.005382, allocations: 15.81 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.005902, allocations: 91.64 kB / 270.4 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.006082, allocations: 99.69 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.006213, allocations: 17.3 kB / 270.6 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.006368, allocations: 55.88 kB / 270.6 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.729e-05/0.006456, allocations: 39.83 kB / 270.7 MB, free: 3.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.006485, allocations: 4 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.006506, allocations: 8 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.006578, allocations: 31.89 kB / 270.7 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.006631, allocations: 19.92 kB / 270.7 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.00681, allocations: 87.59 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006813, allocations: 0 / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.006815, allocations: 4 kB / 270.8 MB, free: 3.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.00682, allocations: 0 / 270.8 MB, free: 3.59 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005914/0.007412, allocations: 452 kB / 271.2 MB, free: 3.113 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.007458, allocations: 12.03 kB / 271.3 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/0.007524, allocations: 24.78 kB / 271.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.007766, allocations: 165.9 kB / 271.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.007794, allocations: 8.375 kB / 271.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.007818, allocations: 16.38 kB / 271.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.008299, allocations: 260 kB / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.008312, allocations: 4.188 kB / 271.7 MB, free: 2.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.00833, allocations: 8.359 kB / 271.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.008342, allocations: 3.938 kB / 271.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.008414, allocations: 27.92 kB / 271.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.008779, allocations: 287.2 kB / 272 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.00901, allocations: 133.1 kB / 272.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.009112, allocations: 63.27 kB / 272.2 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.009144, allocations: 4 kB / 272.2 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.009176, allocations: 41.33 kB / 272.3 MB, free: 1.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.009178, allocations: 4 kB / 272.3 MB, free: 1.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003529/0.009531, allocations: 141.7 kB / 272.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.00961, allocations: 114.8 kB / 272.5 MB, free: 1.637 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.009767, allocations: 201.9 kB / 272.7 MB, free: 1.422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.009787, allocations: 29.7 kB / 272.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.009856, allocations: 143 kB / 272.9 MB, free: 1.242 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.009883, allocations: 11.94 kB / 272.9 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.00994, allocations: 35.31 kB / 272.9 MB, free: 1.188 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.0101, allocations: 0.4922 MB / 273.4 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.343e-05/0.01013, allocations: 11.92 kB / 273.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.01019, allocations: 58.59 kB / 273.5 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.512e-05/0.01027, allocations: 66.36 kB / 273.6 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01028, allocations: 0 / 273.6 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001524/0.01043, allocations: 81.52 kB / 273.7 MB, free: 432 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.01045, allocations: 14.91 kB / 273.7 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01046, allocations: 4 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.01048, allocations: 0 / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.01057, allocations: 7.984 kB / 273.7 MB, free: 408 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01058, allocations: 4 kB / 273.7 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.01063, allocations: 8 kB / 273.7 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.01064, allocations: 4 kB / 273.7 MB, free: 392 kB / 250.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.0001095/0.01075, allocations: 168.5 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.01094, allocations: 105.5 kB / 274 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.01099, allocations: 24.77 kB / 274 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.011, allocations: 8 kB / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.011, allocations: 0 / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01101, allocations: 0 / 274 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.0112, allocations: 140.6 kB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.0112, allocations: 0 / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.01132, allocations: 31.92 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01132, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.01134, allocations: 7.938 kB / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01134, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01134, allocations: 0 / 274.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.01162, allocations: 291 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.01168, allocations: 35.81 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.01172, allocations: 11.94 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.0118, allocations: 0 / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.01184, allocations: 7.984 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01185, allocations: 8 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.07e-05/0.01194, allocations: 149.8 kB / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01194, allocations: 0 / 274.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.01224, allocations: 16 kB / 274.7 MB, free: 15.32 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.0001173/0.01236, allocations: 99.64 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.01252, allocations: 63.53 kB / 274.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01252, allocations: 3.938 kB / 274.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.01254, allocations: 11.69 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.01306, allocations: 75.16 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.01383, allocations: 269.9 kB / 275.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.472e-05/0.01391, allocations: 75.7 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.664e-05/0.01395, allocations: 8.984 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.01399, allocations: 12.5 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01399, allocations: 0 / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.003472/0.01746, allocations: 1.235 MB / 276.5 MB, free: 13.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9706847919151187]