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.001745/0.001745, allocations: 111.9 kB / 19.17 MB, free: 3.758 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.001965/0.001965, allocations: 212.9 kB / 22.13 MB, free: 0.8047 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.533/1.533, allocations: 230.2 MB / 255.2 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.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.001898/0.001898, allocations: 59.91 kB / 374.5 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1249, allocations: 53.32 MB / 427.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.004125/0.1291, allocations: 1.577 MB / 429.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1307, allocations: 0.5337 MB / 429.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1309, allocations: 7.938 kB / 429.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.071e-05/0.1309, allocations: 3.938 kB / 429.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1312, allocations: 15.86 kB / 430 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1316, allocations: 59.81 kB / 430 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1318, allocations: 47.84 kB / 430.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.132, allocations: 8.188 kB / 430.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.1322, allocations: 39.84 kB / 430.1 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1323, allocations: 19.86 kB / 430.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.1323, allocations: 4 kB / 430.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.283e-05/0.1324, allocations: 4 kB / 430.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1325, allocations: 15.92 kB / 430.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.1325, allocations: 27.81 kB / 430.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1327, allocations: 55.73 kB / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.1327, allocations: 4 kB / 430.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.1327, allocations: 0 / 430.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.1328, allocations: 3.938 kB / 430.2 MB, free: 2.152 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.0008201/0.1336, allocations: 379 kB / 430.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1336, allocations: 12.03 kB / 430.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.1338, allocations: 16.88 kB / 430.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.1343, allocations: 210.9 kB / 430.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1343, allocations: 8.375 kB / 430.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1343, allocations: 8.359 kB / 430.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.1346, allocations: 109.2 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1346, allocations: 0 / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1347, allocations: 0 / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1347, allocations: 4 kB / 431 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.1348, allocations: 23.92 kB / 431 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.1351, allocations: 261.8 kB / 431.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.1352, allocations: 41.16 kB / 431.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.1353, allocations: 25.77 kB / 431.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1353, allocations: 0 / 431.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.1354, allocations: 30.56 kB / 431.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1354, allocations: 0 / 431.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002856/0.1357, allocations: 73.56 kB / 431.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.1357, allocations: 81.36 kB / 431.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1359, allocations: 145.8 kB / 431.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1359, allocations: 25.7 kB / 431.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.136, allocations: 84.14 kB / 431.7 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.136, allocations: 11.95 kB / 431.8 MB, free: 412 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1361, allocations: 9.719 kB / 431.8 MB, free: 396 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1363, allocations: 326.8 kB / 432.1 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.1363, allocations: 11.94 kB / 432.1 MB, free: 48 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.1364, allocations: 17.7 kB / 432.1 MB, free: 24 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1365, allocations: 33.7 kB / 432.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1365, allocations: 0 / 432.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.1367, allocations: 61.61 kB / 432.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1367, allocations: 8 kB / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1367, allocations: 0 / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1367, allocations: 0 / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.1368, allocations: 7.984 kB / 432.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1368, allocations: 0 / 432.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.1368, allocations: 4 kB / 432.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1368, allocations: 0 / 432.2 MB, free: 15.9 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.0001047/0.1369, allocations: 117.8 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.137, allocations: 49.67 kB / 432.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.137, allocations: 7.875 kB / 432.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.137, allocations: 0 / 432.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.137, allocations: 0 / 432.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.137, allocations: 4 kB / 432.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1372, allocations: 173.5 kB / 432.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1372, allocations: 0 / 432.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.1373, allocations: 7.984 kB / 432.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1373, allocations: 4 kB / 432.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1373, allocations: 0 / 432.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1373, allocations: 4.031 kB / 432.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1373, allocations: 4 kB / 432.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1375, allocations: 164.3 kB / 432.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.1376, allocations: 89.05 kB / 432.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.1376, allocations: 4 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1377, allocations: 4 kB / 432.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1377, allocations: 4.031 kB / 432.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1377, allocations: 3.938 kB / 432.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.1378, allocations: 117.6 kB / 433 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1378, allocations: 0 / 433 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.138, allocations: 4 kB / 433 MB, free: 15.04 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.0001497/0.1382, allocations: 95.25 kB / 433.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1384, allocations: 23.98 kB / 433.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1384, allocations: 0 / 433.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.1384, allocations: 7.984 kB / 433.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1388, allocations: 31.83 kB / 433.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.1392, allocations: 189.1 kB / 433.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.1396, allocations: 0.6926 MB / 434 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1397, allocations: 15.44 kB / 434 MB, free: 13.93 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1397, allocations: 0 / 434 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Templates: time 0.002509/0.1422, allocations: 0.7472 MB / 434.8 MB, free: 13.18 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.8452709468547255]