Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001432/0.001432, allocations: 115.4 kB / 18.45 MB, free: 4.562 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.001662/0.001662, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.738/1.738, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 43.94 kB / 374.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1335, allocations: 53.34 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003743/0.1373, allocations: 1.564 MB / 429 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1385, allocations: 0.5376 MB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1386, allocations: 4 kB / 429.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.299e-05/0.1387, allocations: 11.86 kB / 429.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1388, allocations: 11.92 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1392, allocations: 59.31 kB / 429.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1394, allocations: 47.8 kB / 429.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1395, allocations: 12.17 kB / 429.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1396, allocations: 35.91 kB / 429.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.1397, allocations: 19.86 kB / 429.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1397, allocations: 11.94 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.1398, allocations: 8 kB / 429.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.1398, allocations: 11.94 kB / 429.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.1399, allocations: 27.8 kB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1401, allocations: 55.73 kB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1401, allocations: 3.938 kB / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1401, allocations: 0 / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.1401, allocations: 3.938 kB / 429.9 MB, free: 1.863 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.0006243/0.1407, allocations: 387 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1407, allocations: 12.03 kB / 430.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.1409, allocations: 20.88 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.1413, allocations: 192.2 kB / 430.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1413, allocations: 4.375 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1413, allocations: 8.312 kB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.1416, allocations: 113.1 kB / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1416, allocations: 0 / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1416, allocations: 0 / 430.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1416, allocations: 4 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.1417, allocations: 15.98 kB / 430.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1421, allocations: 265.8 kB / 430.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.1422, allocations: 49.14 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1423, allocations: 13.78 kB / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.1423, allocations: 0 / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.1424, allocations: 46.5 kB / 431 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1424, allocations: 0 / 431 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002771/0.1426, allocations: 61.62 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.1427, allocations: 85.05 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1429, allocations: 143.5 kB / 431.3 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1429, allocations: 25.7 kB / 431.3 MB, free: 224 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.143, allocations: 92.39 kB / 431.4 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.143, allocations: 7.953 kB / 431.4 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.143, allocations: 17.7 kB / 431.4 MB, free: 96 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1432, allocations: 318.8 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.1432, allocations: 7.984 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.1433, allocations: 21.72 kB / 431.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.784e-05/0.1434, allocations: 29.77 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1434, allocations: 0 / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001369/0.1435, allocations: 57.58 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1435, allocations: 4 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1435, allocations: 3.984 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1436, allocations: 4 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.1436, allocations: 4 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1436, allocations: 4.062 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.1437, allocations: 4 kB / 431.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1437, allocations: 4 kB / 431.9 MB, free: 15.61 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.0001033/0.1438, allocations: 121.7 kB / 432 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.1439, allocations: 41.66 kB / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1439, allocations: 11.8 kB / 432.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1439, allocations: 4 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1439, allocations: 0 / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1439, allocations: 4.031 kB / 432.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1441, allocations: 173.6 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1441, allocations: 8 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1442, allocations: 4 kB / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1442, allocations: 0 / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.1442, allocations: 0 / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1442, allocations: 0 / 432.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.1442, allocations: 7.984 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1444, allocations: 164.2 kB / 432.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.1444, allocations: 93.05 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1445, allocations: 4 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.1445, allocations: 0 / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1446, allocations: 3.984 kB / 432.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1446, allocations: 7.938 kB / 432.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.472e-05/0.1447, allocations: 105.2 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1447, allocations: 0 / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1449, allocations: 8.031 kB / 432.6 MB, free: 14.76 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.0001167/0.145, allocations: 99.77 kB / 432.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1452, allocations: 27.92 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1452, allocations: 0 / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.096e-05/0.1452, allocations: 8 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1455, allocations: 16.23 kB / 432.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.146, allocations: 203.3 kB / 433 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1463, allocations: 0.6885 MB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.1463, allocations: 7.438 kB / 433.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1463, allocations: 4 kB / 433.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.002647/0.149, allocations: 0.7497 MB / 434.4 MB, free: 12.9 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.476783700025408]