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.002281/0.002281, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.003084/0.003084, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.809/1.809, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001709/0.001709, allocations: 43.94 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1427, allocations: 53.34 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004399/0.1471, allocations: 1.764 MB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1487, allocations: 0.6193 MB / 429.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.1488, allocations: 3.938 kB / 429.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.1489, allocations: 7.875 kB / 429.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1491, allocations: 19.8 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.1497, allocations: 99.75 kB / 429.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.1499, allocations: 87.7 kB / 429.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1501, allocations: 29.42 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1502, allocations: 43.86 kB / 429.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1503, allocations: 59.64 kB / 429.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1504, allocations: 4 kB / 429.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.1504, allocations: 15.98 kB / 429.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.1505, allocations: 27.86 kB / 429.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.1506, allocations: 47.67 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.1508, allocations: 111.5 kB / 429.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1509, allocations: 0 / 429.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1509, allocations: 0 / 429.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1509, allocations: 0 / 429.7 MB, free: 1.352 MB / 350.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.0007912/0.1517, allocations: 438.8 kB / 430.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.1517, allocations: 12.03 kB / 430.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.1519, allocations: 24.83 kB / 430.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1523, allocations: 220.1 kB / 430.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1523, allocations: 8.375 kB / 430.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1524, allocations: 16.36 kB / 430.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.153, allocations: 266 kB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.153, allocations: 0 / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.153, allocations: 4 kB / 430.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.153, allocations: 0 / 430.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1532, allocations: 55.89 kB / 430.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.1537, allocations: 306.5 kB / 431.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1539, allocations: 127.9 kB / 431.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1541, allocations: 74.53 kB / 431.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.1541, allocations: 4 kB / 431.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1541, allocations: 42.56 kB / 431.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.1541, allocations: 3.938 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004871/0.1546, allocations: 169.6 kB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1547, allocations: 119.2 kB / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1549, allocations: 158.2 kB / 431.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1549, allocations: 33.7 kB / 431.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.155, allocations: 96.06 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1551, allocations: 23.83 kB / 431.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.1551, allocations: 33.72 kB / 431.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1553, allocations: 326.8 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.1554, allocations: 31.97 kB / 432.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.1555, allocations: 130.6 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1558, allocations: 174.3 kB / 432.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1558, allocations: 4 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003529/0.1562, allocations: 181.7 kB / 432.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1562, allocations: 8 kB / 432.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.1562, allocations: 8.031 kB / 432.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.1562, allocations: 4 kB / 432.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1564, allocations: 31.92 kB / 432.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.1564, allocations: 8 kB / 432.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1565, allocations: 15.92 kB / 432.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.1565, allocations: 8 kB / 432.8 MB, free: 13.87 MB / 366.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.0001457/0.1567, allocations: 137.7 kB / 433 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.1569, allocations: 117.5 kB / 433.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.1569, allocations: 28.7 kB / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1569, allocations: 0 / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.1569, allocations: 4 kB / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.157, allocations: 3.938 kB / 433.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1572, allocations: 193.6 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1572, allocations: 0 / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.1573, allocations: 31.92 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1573, allocations: 3.984 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1574, allocations: 4 kB / 433.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1574, allocations: 0 / 433.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1574, allocations: 8 kB / 433.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.1577, allocations: 259.1 kB / 433.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1578, allocations: 104.9 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1579, allocations: 7.938 kB / 433.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.158, allocations: 4 kB / 433.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.158, allocations: 11.92 kB / 433.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.158, allocations: 8 kB / 433.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1581, allocations: 116.2 kB / 433.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1581, allocations: 3.938 kB / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.1584, allocations: 24 kB / 433.9 MB, free: 12.71 MB / 366.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.0001338/0.1586, allocations: 95.25 kB / 434 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.1589, allocations: 108 kB / 434.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1589, allocations: 0 / 434.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.1589, allocations: 15.92 kB / 434.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1595, allocations: 75.91 kB / 434.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005934/0.16, allocations: 278.4 kB / 434.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.1604, allocations: 0.7163 MB / 435.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.1605, allocations: 9.438 kB / 435.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.1605, allocations: 23.42 kB / 435.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1605, allocations: 0 / 435.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Templates: time 0.004809/0.1653, allocations: 1.239 MB / 436.4 MB, free: 10.11 MB / 366.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/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: 5.419842589646578]