Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.00203/0.00203, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002781/0.002781, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.546/1.546, allocations: 230.6 MB / 254.8 MB, free: 15.2 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 51.92 kB / 374.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1417, allocations: 53.33 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003738/0.1454, allocations: 1.576 MB / 429 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1467, allocations: 0.5571 MB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1468, allocations: 3.938 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.1469, allocations: 11.92 kB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.147, allocations: 15.86 kB / 429.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.1475, allocations: 63.75 kB / 429.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1476, allocations: 51.8 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1477, allocations: 12.17 kB / 429.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1479, allocations: 35.84 kB / 429.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.1479, allocations: 23.86 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.148, allocations: 0 / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.148, allocations: 8 kB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.1481, allocations: 15.92 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.1481, allocations: 23.81 kB / 429.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1483, allocations: 59.67 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1483, allocations: 4 kB / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1483, allocations: 4 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.1483, allocations: 0 / 429.9 MB, free: 1.824 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.0006314/0.1489, allocations: 379 kB / 430.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.149, allocations: 12.03 kB / 430.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.1492, allocations: 16.88 kB / 430.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.1496, allocations: 208.6 kB / 430.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1496, allocations: 4.375 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1496, allocations: 15.92 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1499, allocations: 97.05 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1499, allocations: 0 / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.15, allocations: 0 / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.15, allocations: 4 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.15, allocations: 27.92 kB / 430.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1504, allocations: 261.8 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1506, allocations: 45.14 kB / 431 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.1506, allocations: 21.78 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1506, allocations: 0 / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1507, allocations: 34.55 kB / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1507, allocations: 0 / 431 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002871/0.151, allocations: 69.58 kB / 431.1 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.151, allocations: 81.34 kB / 431.2 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.1512, allocations: 147.6 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1512, allocations: 29.7 kB / 431.4 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.1513, allocations: 96.06 kB / 431.4 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1513, allocations: 3.953 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1514, allocations: 13.72 kB / 431.5 MB, free: 52 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1515, allocations: 318.8 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.1516, allocations: 4 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.1516, allocations: 29.7 kB / 431.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.1517, allocations: 29.66 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1517, allocations: 0 / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001424/0.1519, allocations: 61.56 kB / 431.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1519, allocations: 8.125 kB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1519, allocations: 0 / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1519, allocations: 4 kB / 431.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.152, allocations: 4 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.152, allocations: 0 / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.152, allocations: 15.86 kB / 431.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.152, allocations: 0 / 431.9 MB, free: 15.56 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.000103/0.1521, allocations: 113.8 kB / 432 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.1522, allocations: 41.64 kB / 432.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.1522, allocations: 15.91 kB / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1522, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1522, allocations: 0 / 432.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1523, allocations: 7.922 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1525, allocations: 177.6 kB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1525, allocations: 0 / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.1525, allocations: 7.984 kB / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1525, allocations: 0 / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1525, allocations: 0 / 432.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1525, allocations: 4 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1525, allocations: 4 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1528, allocations: 160.3 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.1528, allocations: 89.06 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1529, allocations: 3.984 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.1529, allocations: 0 / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.153, allocations: 11.94 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.153, allocations: 4.031 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.324e-05/0.1531, allocations: 122 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1531, allocations: 0 / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.1533, allocations: 4 kB / 432.7 MB, free: 14.7 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.0001336/0.1534, allocations: 101.7 kB / 432.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1536, allocations: 19.98 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1536, allocations: 4.125 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.1536, allocations: 11.98 kB / 432.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.154, allocations: 23.89 kB / 432.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.1544, allocations: 189.2 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1547, allocations: 0.6885 MB / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.1548, allocations: 11.59 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1548, allocations: 4 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Templates: time 0.002863/0.1576, allocations: 0.7687 MB / 434.5 MB, free: 12.82 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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.366197213996202]