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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.88 kB / 306.3 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.004614/0.146, allocations: 1.683 MB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1476, allocations: 0.561 MB / 359 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1478, allocations: 7.938 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1479, allocations: 3.938 kB / 359 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.1481, allocations: 7.922 kB / 359.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.1486, allocations: 59.88 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1487, allocations: 59.78 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.1489, allocations: 23.97 kB / 359.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1491, allocations: 31.8 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1492, allocations: 27.84 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.1493, allocations: 4 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1494, allocations: 8 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1495, allocations: 19.92 kB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.1496, allocations: 27.73 kB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1498, allocations: 67.73 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1499, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1499, allocations: 4 kB / 359.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1499, allocations: 0 / 359.4 MB, free: 11.91 MB / 302.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.0007392/0.1506, allocations: 417.8 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.1507, allocations: 8.031 kB / 359.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.151, allocations: 24.83 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1512, allocations: 197.2 kB / 360 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.1513, allocations: 4.375 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1513, allocations: 12.31 kB / 360 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.1517, allocations: 134 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1517, allocations: 0 / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1517, allocations: 7.984 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.1518, allocations: 3.984 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1519, allocations: 43.97 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.1525, allocations: 373.8 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1527, allocations: 83.78 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1528, allocations: 42.61 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1528, allocations: 0 / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1529, allocations: 38.55 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.1529, allocations: 0 / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004184/0.1533, allocations: 117.4 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.1534, allocations: 102.8 kB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1535, allocations: 159.2 kB / 361.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1536, allocations: 29.7 kB / 361.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1536, allocations: 100.1 kB / 361.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1537, allocations: 7.906 kB / 361.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1537, allocations: 21.61 kB / 361.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1539, allocations: 322.8 kB / 361.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.154, allocations: 15.98 kB / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.154, allocations: 47.41 kB / 361.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1542, allocations: 63.34 kB / 361.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1542, allocations: 7.938 kB / 361.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000244/0.1545, allocations: 89.53 kB / 361.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1545, allocations: 4 kB / 361.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.1545, allocations: 0 / 361.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1545, allocations: 4 kB / 361.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1547, allocations: 11.98 kB / 361.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1547, allocations: 0 / 361.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.1548, allocations: 7.906 kB / 361.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1548, allocations: 8.125 kB / 361.8 MB, free: 9.152 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.0001274/0.1549, allocations: 125.8 kB / 362 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.155, allocations: 57.53 kB / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1551, allocations: 11.83 kB / 362 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.1551, allocations: 4 kB / 362 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1551, allocations: 0 / 362 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1551, allocations: 4 kB / 362 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.1554, allocations: 181.6 kB / 362.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.1554, allocations: 8 kB / 362.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.1555, allocations: 12.02 kB / 362.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1555, allocations: 3.938 kB / 362.2 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1555, allocations: 7.984 kB / 362.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1555, allocations: 0 / 362.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1556, allocations: 0 / 362.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.1559, allocations: 279.4 kB / 362.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.156, allocations: 93 kB / 362.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.156, allocations: 4 kB / 362.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1561, allocations: 4 kB / 362.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.1562, allocations: 3.984 kB / 362.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1562, allocations: 4 kB / 362.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.258e-05/0.1563, allocations: 115.2 kB / 362.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1563, allocations: 0 / 362.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1566, allocations: 12 kB / 362.7 MB, free: 8.133 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.0001398/0.1568, allocations: 99.19 kB / 362.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.157, allocations: 59.83 kB / 362.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.157, allocations: 0 / 362.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.1571, allocations: 16.3 kB / 362.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.1576, allocations: 40.17 kB / 363 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004655/0.1581, allocations: 230.6 kB / 363.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1584, allocations: 0.7004 MB / 363.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.1585, allocations: 7.984 kB / 363.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1585, allocations: 11.44 kB / 363.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1586, allocations: 0 / 363.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of Templates: time 0.003387/0.1619, allocations: 0.6272 MB / 364.5 MB, free: 6.301 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches