Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 113.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 212.9 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 71.88 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1355, allocations: 53.32 MB / 427.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003221/0.1387, allocations: 1.76 MB / 429.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1399, allocations: 0.6155 MB / 430.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.14, allocations: 3.938 kB / 430.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.821e-05/0.1401, allocations: 7.875 kB / 430.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.1402, allocations: 23.8 kB / 430.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.1407, allocations: 98.58 kB / 430.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1408, allocations: 99.67 kB / 430.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.141, allocations: 17.45 kB / 430.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1411, allocations: 59.77 kB / 430.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.1412, allocations: 39.78 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1412, allocations: 8 kB / 430.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.023e-05/0.1413, allocations: 12 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1413, allocations: 35.83 kB / 430.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.1414, allocations: 47.67 kB / 430.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.1416, allocations: 111.5 kB / 430.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1416, allocations: 0 / 430.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1416, allocations: 0 / 430.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1416, allocations: 0 / 430.8 MB, free: 1.527 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.000643/0.1423, allocations: 434.8 kB / 431.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1423, allocations: 11.97 kB / 431.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1425, allocations: 28.83 kB / 431.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1428, allocations: 228 kB / 431.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.1428, allocations: 8.375 kB / 431.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1428, allocations: 12.38 kB / 431.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.1434, allocations: 262 kB / 431.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1434, allocations: 0 / 431.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1434, allocations: 4 kB / 431.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1434, allocations: 0 / 431.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1436, allocations: 55.89 kB / 431.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.144, allocations: 314.4 kB / 432.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.1443, allocations: 127.9 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.1444, allocations: 62.62 kB / 432.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1444, allocations: 16.12 kB / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.1445, allocations: 30.56 kB / 432.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.1445, allocations: 0 / 432.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004477/0.1449, allocations: 177.4 kB / 432.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.145, allocations: 118.8 kB / 432.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.1452, allocations: 162.2 kB / 432.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1452, allocations: 29.7 kB / 432.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1453, allocations: 96.12 kB / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1453, allocations: 19.89 kB / 432.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.1453, allocations: 33.72 kB / 433 MB, free: 15.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1455, allocations: 326.8 kB / 433.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.1456, allocations: 23.98 kB / 433.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1457, allocations: 137.4 kB / 433.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.146, allocations: 170.3 kB / 433.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.146, allocations: 8.375 kB / 433.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003051/0.1463, allocations: 181.6 kB / 433.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1463, allocations: 8.062 kB / 433.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1463, allocations: 4 kB / 433.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1463, allocations: 11.94 kB / 433.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1465, allocations: 27.92 kB / 433.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1465, allocations: 4 kB / 433.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/0.1466, allocations: 19.92 kB / 433.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1466, allocations: 8 kB / 433.9 MB, free: 14.05 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.0001243/0.1467, allocations: 144.5 kB / 434 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.1469, allocations: 121.5 kB / 434.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.147, allocations: 20.72 kB / 434.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.147, allocations: 8 kB / 434.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.147, allocations: 3.984 kB / 434.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.147, allocations: 7.938 kB / 434.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.1472, allocations: 197.6 kB / 434.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1472, allocations: 0 / 434.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.1473, allocations: 27.92 kB / 434.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1473, allocations: 0 / 434.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.1474, allocations: 8 kB / 434.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1474, allocations: 0 / 434.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1474, allocations: 4 kB / 434.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.1477, allocations: 251.1 kB / 434.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.1478, allocations: 112.9 kB / 434.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1478, allocations: 4 kB / 434.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.148, allocations: 11.94 kB / 434.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.148, allocations: 11.92 kB / 434.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.148, allocations: 4 kB / 434.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.1481, allocations: 116.1 kB / 434.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 0 / 434.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1484, allocations: 20 kB / 434.9 MB, free: 12.89 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.0001272/0.1485, allocations: 103.2 kB / 435 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1488, allocations: 103.9 kB / 435.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1488, allocations: 0 / 435.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.1489, allocations: 15.92 kB / 435.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1493, allocations: 79.94 kB / 435.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1499, allocations: 300.2 kB / 435.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1502, allocations: 0.7208 MB / 436.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.1504, allocations: 15.44 kB / 436.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1504, allocations: 0 / 436.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Templates: time 0.003609/0.154, allocations: 1.507 MB / 437.8 MB, free: 9.992 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.2464681481942534]