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.001692/0.001692, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002113/0.002113, allocations: 160.1 kB / 24.5 MB, free: 3.449 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.439/1.439, allocations: 177.1 MB / 204.7 MB, free: 8.891 MB / 190.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.001942/0.001942, allocations: 65 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.145, allocations: 53.39 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003121/0.1481, allocations: 1.573 MB / 380.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1491, allocations: 0.5026 MB / 381 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.1492, allocations: 3.938 kB / 381 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.1492, allocations: 3.938 kB / 381 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1494, allocations: 11.88 kB / 381 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.1497, allocations: 63.8 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1498, allocations: 35.92 kB / 381.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1499, allocations: 20.11 kB / 381.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.15, allocations: 35.84 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.1501, allocations: 19.92 kB / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1501, allocations: 0 / 381.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.1501, allocations: 8 kB / 381.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1502, allocations: 15.92 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.1502, allocations: 19.81 kB / 381.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1504, allocations: 63.67 kB / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1504, allocations: 0 / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1504, allocations: 0 / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1504, allocations: 3.938 kB / 381.3 MB, free: 13.14 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.0004725/0.1509, allocations: 310 kB / 381.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1509, allocations: 8.031 kB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.151, allocations: 16.88 kB / 381.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1513, allocations: 146.3 kB / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-06/0.1513, allocations: 384 / 381.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1513, allocations: 4.375 kB / 381.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.1516, allocations: 113.2 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1516, allocations: 0 / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1516, allocations: 0 / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1516, allocations: 4 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.1517, allocations: 15.92 kB / 381.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.152, allocations: 209.4 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.1521, allocations: 49.09 kB / 382.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.1522, allocations: 21.77 kB / 382.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1522, allocations: 8 kB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1522, allocations: 34.56 kB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1522, allocations: 0 / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002414/0.1524, allocations: 69.56 kB / 382.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.1525, allocations: 77.11 kB / 382.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1526, allocations: 144.9 kB / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1526, allocations: 25.7 kB / 382.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1527, allocations: 92.14 kB / 382.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.1527, allocations: 8.203 kB / 382.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.1527, allocations: 13.72 kB / 382.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1529, allocations: 318.8 kB / 382.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.1529, allocations: 11.88 kB / 382.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.153, allocations: 25.7 kB / 383 MB, free: 11.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.1531, allocations: 25.7 kB / 383 MB, free: 11.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1531, allocations: 3.938 kB / 383 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.1532, allocations: 61.64 kB / 383 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1532, allocations: 4 kB / 383 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1532, allocations: 4 kB / 383.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1532, allocations: 4 kB / 383.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.1533, allocations: 7.984 kB / 383.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1533, allocations: 0 / 383.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.1533, allocations: 8 kB / 383.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1533, allocations: 0 / 383.1 MB, free: 11.12 MB / 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: 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 9.714e-05/0.1534, allocations: 117.8 kB / 383.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.1535, allocations: 49.66 kB / 383.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.1535, allocations: 7.812 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1535, allocations: 0 / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1535, allocations: 3.984 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1535, allocations: 3.984 kB / 383.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1537, allocations: 125.2 kB / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1537, allocations: 0 / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.1537, allocations: 4 kB / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1537, allocations: 0 / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1537, allocations: 3.984 kB / 383.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1537, allocations: 8.031 kB / 383.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1537, allocations: 0 / 383.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1539, allocations: 164.2 kB / 383.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.154, allocations: 11.94 kB / 383.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.154, allocations: 4 kB / 383.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.154, allocations: 7.938 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1541, allocations: 3.984 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1541, allocations: 4 kB / 383.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.038e-05/0.1542, allocations: 103.3 kB / 383.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1542, allocations: 4.031 kB / 383.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1544, allocations: 4 kB / 383.7 MB, free: 10.44 MB / 350.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 9.29e-05/0.1545, allocations: 99.23 kB / 383.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1546, allocations: 19.98 kB / 383.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1546, allocations: 3.938 kB / 383.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.1546, allocations: 11.94 kB / 383.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1549, allocations: 25.88 kB / 383.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.1553, allocations: 167.8 kB / 384 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.862e-05/0.1554, allocations: 71.33 kB / 384.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.1554, allocations: 4 kB / 384.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.1554, allocations: 8.5 kB / 384.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1554, allocations: 4 kB / 384.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Templates: time 0.002882/0.1583, allocations: 0.5833 MB / 384.7 MB, free: 9.414 MB / 350.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 -s ida -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/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_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.396428051055409]