Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.00178/0.00178, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.00205/0.00205, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.668/1.668, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.89 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 53.33 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002915/0.1392, allocations: 1.509 MB / 428.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00042/0.1396, allocations: 139.5 kB / 428.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1397, allocations: 4 kB / 428.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.444e-05/0.1397, allocations: 11.92 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1399, allocations: 7.938 kB / 428.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.1401, allocations: 35.92 kB / 428.9 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1402, allocations: 27.91 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1404, allocations: 7.984 kB / 428.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.1404, allocations: 11.94 kB / 428.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.1405, allocations: 15.92 kB / 428.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1405, allocations: 4 kB / 428.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.1405, allocations: 0 / 428.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.1406, allocations: 7.938 kB / 428.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1406, allocations: 23.88 kB / 428.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1407, allocations: 51.62 kB / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1407, allocations: 0 / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1407, allocations: 0 / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1408, allocations: 0 / 429 MB, free: 2.629 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005136/0.1413, allocations: 359.2 kB / 429.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1413, allocations: 12.03 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.1413, allocations: 4.891 kB / 429.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1416, allocations: 196.2 kB / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1416, allocations: 384 / 429.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1417, allocations: 4.375 kB / 429.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.1419, allocations: 89.61 kB / 429.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.142, allocations: 192 / 429.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.142, allocations: 3.938 kB / 429.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.142, allocations: 0 / 429.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.1421, allocations: 23.92 kB / 429.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1424, allocations: 257.8 kB / 429.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1425, allocations: 53.08 kB / 430 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1426, allocations: 21.72 kB / 430 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1426, allocations: 0 / 430 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.1426, allocations: 38.55 kB / 430 MB, free: 1.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1426, allocations: 0 / 430 MB, free: 1.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002617/0.1429, allocations: 61.61 kB / 430.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.1429, allocations: 81.36 kB / 430.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1431, allocations: 139.6 kB / 430.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1431, allocations: 29.7 kB / 430.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.1432, allocations: 88.08 kB / 430.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.1432, allocations: 0 / 430.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1432, allocations: 17.72 kB / 430.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1433, allocations: 310.8 kB / 430.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-05/0.1434, allocations: 15.98 kB / 430.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.1434, allocations: 21.66 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.1435, allocations: 25.7 kB / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1435, allocations: 0 / 430.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.1436, allocations: 61.59 kB / 430.9 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1436, allocations: 12.03 kB / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1436, allocations: 0 / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1437, allocations: 0 / 430.9 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.1437, allocations: 4 kB / 430.9 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1437, allocations: 0 / 430.9 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.1437, allocations: 4 kB / 430.9 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1438, allocations: 0 / 430.9 MB, free: 472 kB / 350.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: 2 (step.y,sample1.y) * 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.000115/0.1439, allocations: 125.7 kB / 431 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.1439, allocations: 49.59 kB / 431.1 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.144, allocations: 11.86 kB / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.144, allocations: 0 / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.144, allocations: 0 / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.144, allocations: 0 / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.1442, allocations: 165.6 kB / 431.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1442, allocations: 0 / 431.2 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.1442, allocations: 11.98 kB / 431.2 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1442, allocations: 4 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1442, allocations: 0 / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1442, allocations: 0 / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1442, allocations: 4.031 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.1444, allocations: 156.3 kB / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.1445, allocations: 93.05 kB / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1445, allocations: 0 / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.1446, allocations: 3.984 kB / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1446, allocations: 8.031 kB / 431.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1446, allocations: 7.875 kB / 431.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.1447, allocations: 104.7 kB / 431.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1447, allocations: 0 / 431.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1449, allocations: 4 kB / 431.6 MB, free: 15.62 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: 2 (step.y,sample1.y) * 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.0001176/0.145, allocations: 99.23 kB / 431.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1452, allocations: 19.98 kB / 431.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1452, allocations: 4.125 kB / 431.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.1452, allocations: 7.938 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1455, allocations: 22.7 kB / 431.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.1459, allocations: 139.9 kB / 431.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1462, allocations: 0.6885 MB / 432.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.1462, allocations: 160 / 432.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.1462, allocations: 11.44 kB / 432.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1462, allocations: 0 / 432.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Templates: time 0.003066/0.1493, allocations: 442.4 kB / 433 MB, free: 14.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.9555229200050235]