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.001201/0.001201, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001431/0.001431, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 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.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 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.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 0.001643/0.001643, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2213, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003039/0.2243, allocations: 1.747 MB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2254, allocations: 0.5687 MB / 434.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.2255, allocations: 11.88 kB / 434.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.2256, allocations: 7.875 kB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2257, allocations: 15.8 kB / 434.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.2261, allocations: 95.77 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.2263, allocations: 103.7 kB / 434.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2264, allocations: 24.59 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2266, allocations: 59.7 kB / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.2266, allocations: 39.78 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2267, allocations: 8 kB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.427e-05/0.2267, allocations: 12 kB / 435 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.2268, allocations: 31.89 kB / 435.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.2268, allocations: 39.73 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.227, allocations: 115.1 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.227, allocations: 0 / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.227, allocations: 0 / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.227, allocations: 0 / 435.2 MB, free: 3.867 MB / 334.1 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.0005703/0.2276, allocations: 353.8 kB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2276, allocations: 12.03 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.2278, allocations: 24.83 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2281, allocations: 166.2 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2281, allocations: 8.375 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.2281, allocations: 8.375 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.2286, allocations: 271.5 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2286, allocations: 0 / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.2286, allocations: 7.984 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2287, allocations: 4 kB / 436 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.2288, allocations: 51.91 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.2291, allocations: 242.1 kB / 436.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.2294, allocations: 131.8 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.2295, allocations: 62.62 kB / 436.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2295, allocations: 7.984 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2296, allocations: 34.56 kB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.2296, allocations: 4 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000453/0.23, allocations: 181.5 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.2302, allocations: 118.8 kB / 436.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2303, allocations: 158.1 kB / 437 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2303, allocations: 25.7 kB / 437 MB, free: 1.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.2304, allocations: 100.1 kB / 437.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2304, allocations: 19.89 kB / 437.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.2305, allocations: 33.72 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2306, allocations: 326.8 kB / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.2307, allocations: 32.05 kB / 437.5 MB, free: 1.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2309, allocations: 134.6 kB / 437.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.2311, allocations: 170.3 kB / 437.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2311, allocations: 0 / 437.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003125/0.2314, allocations: 185.2 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2315, allocations: 8 kB / 438 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2315, allocations: 4 kB / 438 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2315, allocations: 4.531 kB / 438 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2316, allocations: 35.92 kB / 438.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2316, allocations: 4 kB / 438.1 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.2317, allocations: 19.94 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2317, allocations: 11.94 kB / 438.1 MB, free: 0.6367 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (21): * Single equations (assignments): 21 * 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.0001262/0.2318, allocations: 140.5 kB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.232, allocations: 113.5 kB / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.2321, allocations: 20.72 kB / 438.4 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2321, allocations: 11.92 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2321, allocations: 0 / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2321, allocations: 0 / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2323, allocations: 137.2 kB / 438.5 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2323, allocations: 0 / 438.5 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2324, allocations: 27.92 kB / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2324, allocations: 0 / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2324, allocations: 8.469 kB / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2324, allocations: 0 / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2324, allocations: 4 kB / 438.6 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.2328, allocations: 264.9 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.2328, allocations: 27.83 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.2329, allocations: 8 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.2329, allocations: 12 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.233, allocations: 3.984 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.233, allocations: 8 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.2331, allocations: 111.2 kB / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2331, allocations: 0 / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.2334, allocations: 20 kB / 439 MB, free: 15.67 MB / 350.1 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.000123/0.2335, allocations: 111.2 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.2337, allocations: 114.5 kB / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2337, allocations: 0 / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.2338, allocations: 7.984 kB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.2342, allocations: 76.45 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.2347, allocations: 262.8 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.2348, allocations: 110.2 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.2349, allocations: 9.375 kB / 439.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.2349, allocations: 19.42 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2349, allocations: 0 / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Templates: time 0.004299/0.2392, allocations: 1.435 MB / 441.1 MB, free: 13.51 MB / 350.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/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.189800526000909]