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.001185/0.001185, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005365/0.005365, allocations: 160 kB / 24.7 MB, free: 9.43 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 0.8284/0.8284, allocations: 177.1 MB / 205 MB, free: 5.727 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.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.318e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.001987/0.00201, allocations: 1.771 MB / 327.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.002771, allocations: 0.5724 MB / 328.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.002856, allocations: 11.94 kB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.002899, allocations: 7.875 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.003045, allocations: 19.8 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.003391, allocations: 107.6 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003504, allocations: 87.7 kB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003612, allocations: 25.61 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003741, allocations: 63.81 kB / 328.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.003795, allocations: 31.89 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.003812, allocations: 8 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.00385, allocations: 16 kB / 328.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.003899, allocations: 31.84 kB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.003937, allocations: 27.91 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004095, allocations: 111.6 kB / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004097, allocations: 0 / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004098, allocations: 0 / 328.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004103, allocations: 0 / 328.7 MB, free: 12.53 MB / 298.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.0004096/0.004512, allocations: 360.9 kB / 329.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.004546, allocations: 8.031 kB / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.004651, allocations: 28.83 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.004844, allocations: 169.5 kB / 329.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.004864, allocations: 12.31 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.004877, allocations: 8.375 kB / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.005223, allocations: 270.2 kB / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005231, allocations: 192 / 329.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.005246, allocations: 12.31 kB / 329.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.005253, allocations: 3.938 kB / 329.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.005338, allocations: 51.97 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.00558, allocations: 234.1 kB / 329.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.005735, allocations: 131.8 kB / 330 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.005808, allocations: 62.62 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.00583, allocations: 7.984 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.005853, allocations: 46.44 kB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.22e-07/0.005854, allocations: 0 / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002571/0.006111, allocations: 165.6 kB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.006171, allocations: 122.9 kB / 330.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.00627, allocations: 158.2 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006281, allocations: 29.7 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.006322, allocations: 100.1 kB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.006338, allocations: 15.91 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.006368, allocations: 25.7 kB / 330.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.006439, allocations: 314.8 kB / 331 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.00647, allocations: 19.98 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.006507, allocations: 44.28 kB / 331.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.006573, allocations: 72.22 kB / 331.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006575, allocations: 3.938 kB / 331.1 MB, free: 9.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.475e-05/0.00667, allocations: 93.56 kB / 331.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.006682, allocations: 12.08 kB / 331.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006687, allocations: 4 kB / 331.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.0067, allocations: 4 kB / 331.3 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.006749, allocations: 11.94 kB / 331.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.006754, allocations: 0.5625 kB / 331.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.006779, allocations: 15.92 kB / 331.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.006786, allocations: 4 kB / 331.3 MB, free: 9.707 MB / 298.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 7.285e-05/0.006859, allocations: 121.8 kB / 331.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.006965, allocations: 125.4 kB / 331.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.006995, allocations: 20.78 kB / 331.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006997, allocations: 4 kB / 331.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.007002, allocations: 4 kB / 331.6 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.007008, allocations: 7.969 kB / 331.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.479e-05/0.007102, allocations: 129.2 kB / 331.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007103, allocations: 4 kB / 331.7 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.007163, allocations: 27.92 kB / 331.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.007165, allocations: 0 / 331.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.007174, allocations: 7.938 kB / 331.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007176, allocations: 4 kB / 331.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007177, allocations: 0 / 331.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.007348, allocations: 249 kB / 332 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.007388, allocations: 31.89 kB / 332 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007402, allocations: 3.938 kB / 332 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.007443, allocations: 8 kB / 332 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.007469, allocations: 3.984 kB / 332 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.007475, allocations: 4 kB / 332 MB, free: 8.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.146e-05/0.007526, allocations: 120.1 kB / 332.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007526, allocations: 0 / 332.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.007684, allocations: 16 kB / 332.2 MB, free: 8.77 MB / 298.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 6.944e-05/0.007753, allocations: 103.2 kB / 332.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.007885, allocations: 71.91 kB / 332.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.007886, allocations: 0 / 332.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.007904, allocations: 7.984 kB / 332.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.008205, allocations: 82.27 kB / 332.4 MB, free: 8.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.008559, allocations: 301.6 kB / 332.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.008634, allocations: 106.1 kB / 332.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.008668, allocations: 20.44 kB / 332.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008668, allocations: 0 / 332.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of Templates: time 0.00202/0.01069, allocations: 1.409 MB / 334.2 MB, free: 6.617 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.113360815681517]