Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 91.81 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 181.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 11.94 kB / 301.4 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 50.41 MB / 351.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002153/0.1474, allocations: 1.319 MB / 353.2 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1485, allocations: 478.8 kB / 353.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.1488, allocations: 0 / 353.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1489, allocations: 3.938 kB / 353.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1491, allocations: 23.86 kB / 353.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.1495, allocations: 43.89 kB / 353.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1496, allocations: 51.8 kB / 353.8 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1498, allocations: 15.98 kB / 353.8 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1499, allocations: 35.78 kB / 353.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1501, allocations: 23.86 kB / 353.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.1501, allocations: 0 / 353.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.1501, allocations: 0 / 353.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.1502, allocations: 19.92 kB / 353.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.1503, allocations: 53.52 kB / 353.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1504, allocations: 63.7 kB / 354 MB, free: 1.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1505, allocations: 0 / 354 MB, free: 1.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1505, allocations: 0 / 354 MB, free: 1.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1505, allocations: 0 / 354 MB, free: 1.305 MB / 286.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.0007227/0.1512, allocations: 375.5 kB / 354.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.657e-05/0.1513, allocations: 12.03 kB / 354.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.1514, allocations: 16.69 kB / 354.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1517, allocations: 204.1 kB / 354.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1517, allocations: 4.375 kB / 354.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1518, allocations: 8.312 kB / 354.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.1523, allocations: 138.2 kB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1523, allocations: 0 / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1523, allocations: 4 kB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.1523, allocations: 0 / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.1525, allocations: 47.97 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.1532, allocations: 389.8 kB / 355.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1533, allocations: 83.78 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1535, allocations: 46.62 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1535, allocations: 0 / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1535, allocations: 38.55 kB / 355.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1535, allocations: 3.938 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004066/0.154, allocations: 129.6 kB / 355.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1541, allocations: 106.8 kB / 355.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1543, allocations: 146.2 kB / 355.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1543, allocations: 25.7 kB / 355.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1544, allocations: 100.2 kB / 355.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1544, allocations: 15.83 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.1544, allocations: 9.719 kB / 355.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1546, allocations: 322.8 kB / 356.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.1546, allocations: 15.98 kB / 356.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.1547, allocations: 51.41 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1549, allocations: 75.34 kB / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1549, allocations: 0 / 356.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002135/0.1551, allocations: 97.53 kB / 356.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1552, allocations: 4 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1552, allocations: 4.125 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1552, allocations: 4 kB / 356.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1553, allocations: 15.92 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1553, allocations: 4 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.1554, allocations: 8 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1554, allocations: 4 kB / 356.4 MB, free: 14.54 MB / 302.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.000103/0.1555, allocations: 125.7 kB / 356.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.1556, allocations: 61.44 kB / 356.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.1557, allocations: 11.88 kB / 356.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.1557, allocations: 4 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1557, allocations: 0 / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1557, allocations: 4.078 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.156, allocations: 185.6 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.156, allocations: 0 / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.156, allocations: 11.98 kB / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1561, allocations: 0 / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1561, allocations: 4.031 kB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1561, allocations: 4 kB / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1561, allocations: 0 / 356.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.1564, allocations: 287.4 kB / 357.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.1565, allocations: 93 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1565, allocations: 0 / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1567, allocations: 15.98 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.1567, allocations: 3.984 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1567, allocations: 4 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.1568, allocations: 117.5 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1569, allocations: 0 / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1571, allocations: 15.94 kB / 357.3 MB, free: 13.51 MB / 302.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.0001544/0.1573, allocations: 95.25 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1575, allocations: 67.83 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1575, allocations: 4.25 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.1576, allocations: 15.98 kB / 357.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.1582, allocations: 34.7 kB / 357.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.1586, allocations: 235.5 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1589, allocations: 0.7004 MB / 358.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.159, allocations: 7.984 kB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.159, allocations: 11.44 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1591, allocations: 4 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Templates: time 0.003244/0.1623, allocations: 0.6054 MB / 359.1 MB, free: 11.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches