Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.0019/0.0019, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.0015/0.0015, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.579/1.579, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 47.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003647/0.1504, allocations: 1.63 MB / 428.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1517, allocations: 0.561 MB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1518, allocations: 7.938 kB / 429 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.152, allocations: 3.938 kB / 429 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1521, allocations: 15.84 kB / 429 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1524, allocations: 67.56 kB / 429.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1526, allocations: 63.72 kB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1528, allocations: 19.98 kB / 429.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1529, allocations: 43.78 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.153, allocations: 27.84 kB / 429.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1531, allocations: 4 kB / 429.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.1531, allocations: 8 kB / 429.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.1532, allocations: 19.92 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.1532, allocations: 31.75 kB / 429.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1535, allocations: 79.58 kB / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1535, allocations: 0 / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1535, allocations: 0 / 429.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.1535, allocations: 7.938 kB / 429.4 MB, free: 1.688 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.0008065/0.1543, allocations: 406.9 kB / 429.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1544, allocations: 8.031 kB / 429.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.1547, allocations: 28.86 kB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.155, allocations: 212.1 kB / 430 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.155, allocations: 4.375 kB / 430 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1551, allocations: 4.375 kB / 430 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.1555, allocations: 130.2 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1555, allocations: 0 / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1555, allocations: 0 / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.1555, allocations: 11.98 kB / 430.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1557, allocations: 35.91 kB / 430.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.1563, allocations: 373.9 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1565, allocations: 87.77 kB / 430.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1566, allocations: 38.62 kB / 430.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1567, allocations: 0 / 430.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.1567, allocations: 38.5 kB / 430.7 MB, free: 132 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1567, allocations: 0 / 430.7 MB, free: 132 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004845/0.1572, allocations: 117.5 kB / 430.9 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.1573, allocations: 106.8 kB / 431 MB, free: 15.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1575, allocations: 154.6 kB / 431.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1575, allocations: 29.7 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.1576, allocations: 104.1 kB / 431.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.1577, allocations: 7.953 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1577, allocations: 17.7 kB / 431.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1579, allocations: 322.8 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.158, allocations: 19.92 kB / 431.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.158, allocations: 51.41 kB / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1582, allocations: 59.34 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1582, allocations: 7.938 kB / 431.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002442/0.1585, allocations: 89.55 kB / 431.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1585, allocations: 4 kB / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1585, allocations: 4 kB / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1585, allocations: 0 / 431.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1587, allocations: 11.98 kB / 431.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1587, allocations: 0 / 431.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.1587, allocations: 8 kB / 431.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1587, allocations: 8.125 kB / 431.8 MB, free: 14.93 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.0001373/0.1589, allocations: 133.6 kB / 432 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.159, allocations: 53.64 kB / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.159, allocations: 11.88 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.159, allocations: 0 / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.159, allocations: 4 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.159, allocations: 0 / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.1593, allocations: 189.5 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1593, allocations: 4 kB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.1594, allocations: 12.02 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1594, allocations: 0 / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1594, allocations: 4 kB / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1594, allocations: 0 / 432.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1594, allocations: 3.938 kB / 432.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.1598, allocations: 275.5 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.1599, allocations: 93.05 kB / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1599, allocations: 0 / 432.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.16, allocations: 11.98 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.1601, allocations: 0 / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1601, allocations: 4 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1602, allocations: 115.2 kB / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1602, allocations: 0 / 432.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1605, allocations: 12 kB / 432.7 MB, free: 13.91 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.0001839/0.1607, allocations: 103.2 kB / 432.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1609, allocations: 51.89 kB / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1609, allocations: 0 / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.161, allocations: 20.23 kB / 432.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1615, allocations: 30.47 kB / 432.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.162, allocations: 216.5 kB / 433.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1624, allocations: 0.6963 MB / 433.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1624, allocations: 16.08 kB / 433.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.1625, allocations: 7.438 kB / 433.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1625, allocations: 4 kB / 433.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.004291/0.1667, allocations: 0.7104 MB / 434.6 MB, free: 12.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.186366155743599]