Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001766/0.001766, allocations: 119.5 kB / 18.5 MB, free: 4.551 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.00221/0.00221, allocations: 205.7 kB / 21.45 MB, free: 1.605 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.572/1.572, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.89 kB / 373.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1351, allocations: 53.32 MB / 427.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00429/0.1394, allocations: 1.565 MB / 428.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.141, allocations: 0.5455 MB / 429.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1411, allocations: 3.938 kB / 429.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.061e-05/0.1411, allocations: 3.938 kB / 429.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1413, allocations: 19.8 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1417, allocations: 51.89 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1418, allocations: 55.77 kB / 429.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.142, allocations: 8.188 kB / 429.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1421, allocations: 31.86 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1422, allocations: 23.86 kB / 429.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1422, allocations: 4 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.898e-05/0.1422, allocations: 7.984 kB / 429.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1423, allocations: 19.92 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1424, allocations: 23.81 kB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1425, allocations: 59.73 kB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1425, allocations: 3.938 kB / 429.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1426, allocations: 0 / 429.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1426, allocations: 0 / 429.6 MB, free: 2.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006509/0.1432, allocations: 387 kB / 429.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1433, allocations: 8.031 kB / 429.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1434, allocations: 16.89 kB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.1438, allocations: 204.1 kB / 430.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1438, allocations: 4.359 kB / 430.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1439, allocations: 4.375 kB / 430.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1442, allocations: 113.2 kB / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1442, allocations: 0 / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1442, allocations: 0 / 430.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1442, allocations: 4 kB / 430.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.1443, allocations: 15.92 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1448, allocations: 261.8 kB / 430.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1449, allocations: 45.2 kB / 430.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.145, allocations: 21.7 kB / 430.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.145, allocations: 4 kB / 430.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.145, allocations: 38.56 kB / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.145, allocations: 0 / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003203/0.1453, allocations: 69.5 kB / 430.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.1454, allocations: 81.11 kB / 430.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1456, allocations: 140.4 kB / 430.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1456, allocations: 25.7 kB / 431 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.1457, allocations: 96.38 kB / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1457, allocations: 3.953 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1458, allocations: 17.72 kB / 431.1 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1459, allocations: 318.8 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.146, allocations: 4 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.1461, allocations: 25.77 kB / 431.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1462, allocations: 37.64 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1462, allocations: 3.938 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.1464, allocations: 57.58 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.1464, allocations: 6.188 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1464, allocations: 0 / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1464, allocations: 4 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.1465, allocations: 8.062 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1465, allocations: 3.984 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1465, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1466, allocations: 4 kB / 431.6 MB, free: 15.85 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001263/0.1467, allocations: 117.8 kB / 431.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.1468, allocations: 41.64 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.1468, allocations: 11.86 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1468, allocations: 4 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1468, allocations: 0 / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1468, allocations: 4.031 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1471, allocations: 169.6 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1471, allocations: 11.94 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.1471, allocations: 7.984 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1471, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1472, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1472, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1472, allocations: 4 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1474, allocations: 160.3 kB / 432.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.1475, allocations: 89.06 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1475, allocations: 7.984 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.1476, allocations: 3.938 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.1477, allocations: 0 / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.1477, allocations: 4 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1478, allocations: 111.2 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1478, allocations: 4.031 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1481, allocations: 8 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001343/0.1483, allocations: 95.25 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1484, allocations: 19.98 kB / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1484, allocations: 0 / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.1485, allocations: 11.98 kB / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.149, allocations: 26.84 kB / 432.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1494, allocations: 163.4 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.1499, allocations: 0.6884 MB / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.1499, allocations: 7.984 kB / 433.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.1499, allocations: 11.44 kB / 433.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1499, allocations: 96 / 433.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Templates: time 0.00402/0.154, allocations: 0.5199 MB / 433.8 MB, free: 13.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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: 4.56937010306865]