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.001737/0.001737, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002105/0.002105, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.001763/0.001763, allocations: 51.92 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.136, allocations: 53.32 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.004207/0.1402, allocations: 1.77 MB / 429.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1417, allocations: 0.6154 MB / 429.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.1419, allocations: 3.938 kB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.277e-05/0.142, allocations: 15.86 kB / 429.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1422, allocations: 11.81 kB / 429.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1428, allocations: 111.2 kB / 430 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.143, allocations: 87.77 kB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1431, allocations: 25.42 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1433, allocations: 55.72 kB / 430.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.1434, allocations: 47.77 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.1435, allocations: 8 kB / 430.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.1435, allocations: 8 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1436, allocations: 27.86 kB / 430.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.1437, allocations: 47.67 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.1439, allocations: 119.5 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1439, allocations: 0 / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.1439, allocations: 4 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1439, allocations: 0 / 430.4 MB, free: 1.312 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.0007274/0.1447, allocations: 434.7 kB / 430.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1447, allocations: 12.03 kB / 430.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1449, allocations: 24.84 kB / 430.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.1453, allocations: 220.1 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.1453, allocations: 12.36 kB / 431.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1453, allocations: 12.38 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.1459, allocations: 266 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1459, allocations: 0 / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1459, allocations: 7.938 kB / 431.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1459, allocations: 4 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1461, allocations: 51.97 kB / 431.5 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1465, allocations: 314.4 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1468, allocations: 123.9 kB / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.1469, allocations: 66.66 kB / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.147, allocations: 0 / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.147, allocations: 42.5 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.213e-06/0.147, allocations: 3.938 kB / 432 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.000445/0.1474, allocations: 173.6 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1475, allocations: 127.1 kB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1477, allocations: 158.1 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1477, allocations: 25.7 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1478, allocations: 92.08 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1478, allocations: 19.89 kB / 432.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.1479, allocations: 37.7 kB / 432.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.148, allocations: 330.9 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.1481, allocations: 27.98 kB / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1483, allocations: 138.5 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1485, allocations: 166.4 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1485, allocations: 0 / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003107/0.1488, allocations: 185.2 kB / 433.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1488, allocations: 8 kB / 433.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1488, allocations: 4 kB / 433.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1489, allocations: 7.984 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.149, allocations: 31.92 kB / 433.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.149, allocations: 4 kB / 433.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.1491, allocations: 12.44 kB / 433.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1491, allocations: 16 kB / 433.5 MB, free: 13.84 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.0001516/0.1493, allocations: 141.7 kB / 433.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.1495, allocations: 109.5 kB / 433.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.1495, allocations: 24.7 kB / 433.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1495, allocations: 4 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1495, allocations: 0 / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1495, allocations: 7.875 kB / 433.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1498, allocations: 193.6 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1498, allocations: 4 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1499, allocations: 31.97 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.1499, allocations: 4 kB / 434 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1499, allocations: 4 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1499, allocations: 0 / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1499, allocations: 8.375 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1502, allocations: 259.3 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.1503, allocations: 104.9 kB / 434.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.1504, allocations: 11.92 kB / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.1505, allocations: 4 kB / 434.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1505, allocations: 3.938 kB / 434.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1505, allocations: 8.094 kB / 434.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1506, allocations: 120.1 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1506, allocations: 0 / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1509, allocations: 24 kB / 434.6 MB, free: 12.68 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.0001383/0.151, allocations: 111.2 kB / 434.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1513, allocations: 107.8 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1513, allocations: 1.062 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.1513, allocations: 8 kB / 434.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.1518, allocations: 83.97 kB / 434.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.1524, allocations: 299.2 kB / 435.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1528, allocations: 0.7163 MB / 435.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1529, allocations: 23.42 kB / 435.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1529, allocations: 4 kB / 435.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Templates: time 0.003806/0.1567, allocations: 1.494 MB / 437.4 MB, free: 9.781 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/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.1486944560019765]