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.001765/0.001765, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002058/0.002058, allocations: 209 kB / 24.48 MB, free: 3.938 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.57/1.57, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.001605/0.001605, allocations: 48.06 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2258, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003153/0.2289, allocations: 1.755 MB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2301, allocations: 0.5726 MB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.2302, allocations: 11.88 kB / 434.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.2302, allocations: 11.86 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.2304, allocations: 11.88 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.2308, allocations: 107.6 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.231, allocations: 87.77 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2311, allocations: 25.61 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2312, allocations: 47.8 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.2313, allocations: 43.7 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2313, allocations: 8 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.2314, allocations: 19.98 kB / 435 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.2314, allocations: 19.92 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.2315, allocations: 39.73 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2317, allocations: 117.1 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2317, allocations: 0 / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2317, allocations: 0 / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2317, allocations: 7.938 kB / 435.2 MB, free: 3.816 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.0005887/0.2323, allocations: 353.7 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2323, allocations: 8.031 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.2325, allocations: 28.83 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.2328, allocations: 162.2 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.2328, allocations: 12.38 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.2328, allocations: 4.375 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.2333, allocations: 273.4 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2333, allocations: 0 / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2334, allocations: 4 kB / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2334, allocations: 0 / 436 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.2335, allocations: 59.84 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.2339, allocations: 234.2 kB / 436.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.2341, allocations: 131.8 kB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.2342, allocations: 70.61 kB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.2343, allocations: 4 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2343, allocations: 38.5 kB / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.2343, allocations: 0 / 436.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004431/0.2347, allocations: 177.5 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.2348, allocations: 118.8 kB / 436.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.235, allocations: 158.1 kB / 437 MB, free: 1.824 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.235, allocations: 33.69 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.2351, allocations: 92.25 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.2351, allocations: 23.88 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.2352, allocations: 37.7 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2354, allocations: 322.8 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.2355, allocations: 31.92 kB / 437.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2356, allocations: 138.5 kB / 437.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.2359, allocations: 166.4 kB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.2359, allocations: 4 kB / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003252/0.2362, allocations: 185.3 kB / 438 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2362, allocations: 4 kB / 438 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2362, allocations: 4 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.2363, allocations: 8 kB / 438 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2364, allocations: 27.92 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.2364, allocations: 11.92 kB / 438.1 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.2365, allocations: 12 kB / 438.1 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2365, allocations: 12.34 kB / 438.1 MB, free: 0.5977 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.0001392/0.2367, allocations: 144 kB / 438.2 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.2369, allocations: 117.5 kB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.2369, allocations: 24.7 kB / 438.4 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2369, allocations: 3.984 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2369, allocations: 0 / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2369, allocations: 4.469 kB / 438.4 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2371, allocations: 129.2 kB / 438.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2371, allocations: 4 kB / 438.5 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2372, allocations: 23.92 kB / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2372, allocations: 8 kB / 438.6 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2373, allocations: 7.938 kB / 438.6 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.2373, allocations: 7.984 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2373, allocations: 3.938 kB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.2376, allocations: 253 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.2377, allocations: 31.83 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.2377, allocations: 4 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.2378, allocations: 7.984 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2378, allocations: 0 / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2378, allocations: 4 kB / 438.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.137e-05/0.2379, allocations: 123.2 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2379, allocations: 0 / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.2382, allocations: 20 kB / 439 MB, free: 15.63 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.0001218/0.2383, allocations: 107.1 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.2386, allocations: 104.8 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2386, allocations: 4.062 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.2386, allocations: 7.984 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.2391, allocations: 80.53 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.2397, allocations: 310.3 kB / 439.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.2398, allocations: 102.3 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.2398, allocations: 11.5 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2398, allocations: 8 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Templates: time 0.003295/0.2431, allocations: 1.525 MB / 441.2 MB, free: 13.33 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 -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: 7.0566557492129505]