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.001689/0.001689, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001859/0.001859, allocations: 201 kB / 21.45 MB, free: 1.59 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.682/1.682, allocations: 230.2 MB / 254.5 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.002017/0.002017, allocations: 64.14 kB / 373.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 53.32 MB / 427.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003993/0.1461, allocations: 1.773 MB / 428.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1476, allocations: 0.6154 MB / 429.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1477, allocations: 3.938 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.878e-05/0.1478, allocations: 7.875 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.1479, allocations: 15.86 kB / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.1485, allocations: 107 kB / 429.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1487, allocations: 91.7 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1489, allocations: 25.42 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1491, allocations: 51.84 kB / 429.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.1492, allocations: 39.77 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.1492, allocations: 8 kB / 429.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.1493, allocations: 16 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.656e-05/0.1494, allocations: 27.84 kB / 429.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.1495, allocations: 55.66 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.1497, allocations: 111.4 kB / 430.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1497, allocations: 4 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1497, allocations: 0 / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.1498, allocations: 0 / 430.1 MB, free: 1.508 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.0008553/0.1506, allocations: 434.8 kB / 430.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1507, allocations: 8.031 kB / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1509, allocations: 28.83 kB / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.1513, allocations: 224.1 kB / 430.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.1513, allocations: 8.375 kB / 430.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1514, allocations: 12.38 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1519, allocations: 262 kB / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1519, allocations: 0 / 431.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.152, allocations: 8 kB / 431.1 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.152, allocations: 7.922 kB / 431.1 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1521, allocations: 51.91 kB / 431.1 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1525, allocations: 306.5 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1528, allocations: 127.7 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1529, allocations: 66.81 kB / 431.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.153, allocations: 11.92 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.153, allocations: 34.56 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.153, allocations: 0 / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004488/0.1535, allocations: 181.8 kB / 431.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.1536, allocations: 114.9 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1537, allocations: 158.1 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1537, allocations: 29.7 kB / 432.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.1538, allocations: 96.12 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1538, allocations: 15.91 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.1539, allocations: 37.7 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1541, allocations: 330.8 kB / 432.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.972e-05/0.1541, allocations: 27.98 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.1543, allocations: 138.5 kB / 432.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1545, allocations: 170.3 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1545, allocations: 4 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003219/0.1549, allocations: 177.4 kB / 433.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.1549, allocations: 4 kB / 433.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1549, allocations: 7.984 kB / 433.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.1549, allocations: 8 kB / 433.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1551, allocations: 31.92 kB / 433.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.1551, allocations: 7.938 kB / 433.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.1552, allocations: 12.34 kB / 433.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.1552, allocations: 20.36 kB / 433.2 MB, free: 14.03 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.0001484/0.1553, allocations: 136.5 kB / 433.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.1556, allocations: 121.5 kB / 433.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.1556, allocations: 20.72 kB / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.1556, allocations: 4 kB / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1556, allocations: 0 / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.1557, allocations: 11.92 kB / 433.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1559, allocations: 193.6 kB / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1559, allocations: 0 / 433.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.156, allocations: 31.97 kB / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.156, allocations: 0 / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1561, allocations: 11.94 kB / 433.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1561, allocations: 0 / 433.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1561, allocations: 0 / 433.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.1564, allocations: 253 kB / 434 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1565, allocations: 112.9 kB / 434.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.1566, allocations: 8 kB / 434.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1566, allocations: 3.938 kB / 434.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.1567, allocations: 7.938 kB / 434.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1567, allocations: 7.984 kB / 434.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1568, allocations: 120.1 kB / 434.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1568, allocations: 0 / 434.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1571, allocations: 20 kB / 434.2 MB, free: 12.88 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.000146/0.1572, allocations: 111.2 kB / 434.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1575, allocations: 103.8 kB / 434.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1575, allocations: 0 / 434.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.1576, allocations: 9.047 kB / 434.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.158, allocations: 74.64 kB / 434.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.1586, allocations: 281.5 kB / 434.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.1591, allocations: 0.7202 MB / 435.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.252e-05/0.1591, allocations: 13.38 kB / 435.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.1592, allocations: 19.42 kB / 435.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1592, allocations: 0 / 435.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Templates: time 0.004682/0.1639, allocations: 1.226 MB / 436.8 MB, free: 10.28 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/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_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: 5.375491620972753]