Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.001311/0.001311, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.00141/0.00141, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.558/1.558, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 59.89 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.136, allocations: 53.32 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003814/0.1398, allocations: 1.628 MB / 428.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1412, allocations: 0.561 MB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.1414, allocations: 7.938 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.1415, allocations: 3.938 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1417, allocations: 15.86 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1422, allocations: 67.81 kB / 429.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1423, allocations: 67.7 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1425, allocations: 15.98 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1426, allocations: 35.8 kB / 429.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1427, allocations: 35.83 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1428, allocations: 7.938 kB / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.1428, allocations: 8 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.1429, allocations: 15.92 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.143, allocations: 31.75 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.1432, allocations: 79.59 kB / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1432, allocations: 0 / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1432, allocations: 0 / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1432, allocations: 0 / 429.7 MB, free: 1.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007524/0.144, allocations: 406.9 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1441, allocations: 8.031 kB / 430.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.1443, allocations: 28.86 kB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.1448, allocations: 220.1 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1448, allocations: 384 / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1448, allocations: 4.375 kB / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.1453, allocations: 130.2 kB / 430.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1453, allocations: 4 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1454, allocations: 0 / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.1454, allocations: 7.984 kB / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1456, allocations: 43.91 kB / 430.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007585/0.1463, allocations: 373.9 kB / 430.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1465, allocations: 79.78 kB / 431 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.1466, allocations: 42.61 kB / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1466, allocations: 0 / 431.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.1467, allocations: 42.5 kB / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1467, allocations: 0 / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004251/0.1471, allocations: 109.5 kB / 431.2 MB, free: 204 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.1472, allocations: 111.2 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1474, allocations: 154.2 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1474, allocations: 25.7 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.1475, allocations: 100.1 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.1475, allocations: 7.953 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.1476, allocations: 17.7 kB / 431.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1478, allocations: 326.7 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.1478, allocations: 19.98 kB / 432 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.1479, allocations: 47.41 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1481, allocations: 67.34 kB / 432.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1481, allocations: 3.938 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002128/0.1483, allocations: 89.48 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1483, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1483, allocations: 4 kB / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.1483, allocations: 0 / 432.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1485, allocations: 15.98 kB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1485, allocations: 8.125 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.1485, allocations: 4 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1486, allocations: 0 / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001574/0.1487, allocations: 129.7 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1488, allocations: 53.64 kB / 432.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.1489, allocations: 11.88 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.1489, allocations: 0 / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.1489, allocations: 4 kB / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1489, allocations: 32 / 432.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.1492, allocations: 197.5 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1492, allocations: 0 / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.1493, allocations: 7.984 kB / 432.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1493, allocations: 4 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1493, allocations: 0 / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1493, allocations: 0 / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1493, allocations: 3.938 kB / 432.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.1497, allocations: 279.5 kB / 432.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1498, allocations: 93.19 kB / 433 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1498, allocations: 4 kB / 433 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1499, allocations: 7.984 kB / 433 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/0.15, allocations: 3.984 kB / 433 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.15, allocations: 4 kB / 433 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1501, allocations: 119.2 kB / 433.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1501, allocations: 0 / 433.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1503, allocations: 8 kB / 433.1 MB, free: 14.1 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.000145/0.1505, allocations: 103.2 kB / 433.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1508, allocations: 55.83 kB / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1508, allocations: 256 / 433.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.1508, allocations: 23.98 kB / 433.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.1513, allocations: 22.42 kB / 433.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.1519, allocations: 212.6 kB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.1523, allocations: 0.6965 MB / 434.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.501e-05/0.1523, allocations: 15.98 kB / 434.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.1524, allocations: 11.38 kB / 434.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1524, allocations: 0 / 434.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Templates: time 0.004147/0.1565, allocations: 0.714 MB / 434.9 MB, free: 12.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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: 5.233898662962019]