Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 116 kB / 18.41 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 185.3 kB / 21.35 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 47.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1307, allocations: 49.44 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003943/0.1347, allocations: 1.868 MB / 410 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1369, allocations: 1.114 MB / 411.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.137, allocations: 0 / 411.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1374, allocations: 79.64 kB / 411.2 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1377, allocations: 91.59 kB / 411.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.1385, allocations: 250.6 kB / 411.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1388, allocations: 175.5 kB / 411.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1389, allocations: 29.55 kB / 411.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1391, allocations: 71.69 kB / 411.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1392, allocations: 75.69 kB / 411.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1392, allocations: 8 kB / 411.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1394, allocations: 71.89 kB / 411.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.1395, allocations: 51.83 kB / 412 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.369e-05/0.1396, allocations: 71.48 kB / 412 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.14, allocations: 242.9 kB / 412.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.14, allocations: 0 / 412.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.14, allocations: 3.938 kB / 412.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1401, allocations: 0 / 412.3 MB, free: 2.641 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008909/0.141, allocations: 0.5426 MB / 412.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.141, allocations: 11.89 kB / 412.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.1411, allocations: 28.8 kB / 412.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.1416, allocations: 295.7 kB / 413.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1416, allocations: 8.375 kB / 413.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1417, allocations: 8.125 kB / 413.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.142, allocations: 155.6 kB / 413.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.142, allocations: 0 / 413.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1421, allocations: 7.984 kB / 413.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1421, allocations: 4 kB / 413.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1422, allocations: 31.92 kB / 413.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.1428, allocations: 382.4 kB / 413.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.143, allocations: 123.9 kB / 413.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.1432, allocations: 42.56 kB / 413.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.1432, allocations: 8.016 kB / 413.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1434, allocations: 83.36 kB / 414 MB, free: 0.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1434, allocations: 0 / 414 MB, free: 0.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004306/0.1438, allocations: 145.5 kB / 414.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.144, allocations: 170.4 kB / 414.3 MB, free: 364 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.1443, allocations: 330.7 kB / 414.6 MB, free: 24 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.1444, allocations: 29.64 kB / 414.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1445, allocations: 124.1 kB / 414.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.1446, allocations: 15.84 kB / 414.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.1446, allocations: 37.66 kB / 414.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1448, allocations: 338.8 kB / 415.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.1449, allocations: 23.98 kB / 415.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.145, allocations: 82.86 kB / 415.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1452, allocations: 88.2 kB / 415.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1452, allocations: 0 / 415.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002496/0.1455, allocations: 125.7 kB / 415.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1455, allocations: 4 kB / 415.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.1455, allocations: 7.984 kB / 415.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1455, allocations: 0 / 415.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1457, allocations: 23.92 kB / 415.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1457, allocations: 0 / 415.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.1458, allocations: 20.02 kB / 415.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1458, allocations: 4 kB / 415.5 MB, free: 15.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001551/0.1459, allocations: 154.5 kB / 415.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.146, allocations: 65.5 kB / 415.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.1461, allocations: 29.7 kB / 415.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1461, allocations: 3.938 kB / 415.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1462, allocations: 0 / 415.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.1462, allocations: 7.938 kB / 415.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.1465, allocations: 245.6 kB / 416 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1465, allocations: 0 / 416 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.1466, allocations: 11.94 kB / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1466, allocations: 0 / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1466, allocations: 8 kB / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1466, allocations: 3.984 kB / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1466, allocations: 0 / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.1469, allocations: 166.6 kB / 416.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.147, allocations: 112.9 kB / 416.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1471, allocations: 11.94 kB / 416.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1471, allocations: 3.984 kB / 416.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.1472, allocations: 8 kB / 416.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.1472, allocations: 11.92 kB / 416.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.1475, allocations: 237.9 kB / 416.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1475, allocations: 0 / 416.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1478, allocations: 39.94 kB / 416.6 MB, free: 13.84 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001601/0.1494, allocations: 431.1 kB / 417 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1497, allocations: 71.91 kB / 417.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1497, allocations: 0 / 417.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.1498, allocations: 35.86 kB / 417.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.1502, allocations: 66.88 kB / 417.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.151, allocations: 402.3 kB / 417.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1513, allocations: 0.7358 MB / 418.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.1514, allocations: 23.44 kB / 418.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1514, allocations: 4 kB / 418.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Templates: time 0.005669/0.1571, allocations: 2.903 MB / 421.3 MB, free: 9.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 8.037691283971071]