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.001136/0.001136, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 8 kB / 307.7 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 51.52 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002773/0.137, allocations: 1.34 MB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1384, allocations: 0.5455 MB / 361.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1385, allocations: 7.938 kB / 361.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1386, allocations: 3.938 kB / 361.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.1388, allocations: 15.91 kB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.1392, allocations: 51.89 kB / 361.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.1393, allocations: 59.78 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1395, allocations: 19.98 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1397, allocations: 35.78 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.1398, allocations: 23.84 kB / 361.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1398, allocations: 4 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.952e-05/0.1399, allocations: 8 kB / 361.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.1399, allocations: 11.92 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.14, allocations: 61.44 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1401, allocations: 71.7 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1402, allocations: 0 / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1402, allocations: 0 / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1402, allocations: 0 / 361.5 MB, free: 11.02 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.0005938/0.1408, allocations: 393.5 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1408, allocations: 8.031 kB / 361.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.1411, allocations: 36.81 kB / 361.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1413, allocations: 201.2 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1413, allocations: 8.359 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1414, allocations: 12.31 kB / 362.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1417, allocations: 130.2 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1417, allocations: 0 / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1417, allocations: 4 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.1418, allocations: 4 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1419, allocations: 47.95 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.1424, allocations: 385.7 kB / 362.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1426, allocations: 87.78 kB / 362.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.1427, allocations: 46.61 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1427, allocations: 0 / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1428, allocations: 34.5 kB / 362.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1428, allocations: 4 kB / 362.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004303/0.1432, allocations: 129.4 kB / 363 MB, free: 9.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.1433, allocations: 107.2 kB / 363.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1435, allocations: 162.8 kB / 363.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1435, allocations: 25.7 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.1436, allocations: 100.1 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.1436, allocations: 7.891 kB / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1437, allocations: 9.719 kB / 363.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.1439, allocations: 326.8 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.144, allocations: 23.98 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.1441, allocations: 43.42 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1443, allocations: 75.34 kB / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1443, allocations: 0 / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00023/0.1445, allocations: 109.4 kB / 364 MB, free: 8.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1446, allocations: 4 kB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.1446, allocations: 0 / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1446, allocations: 4 kB / 364 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1447, allocations: 11.98 kB / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1447, allocations: 0 / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.1448, allocations: 16.11 kB / 364 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1448, allocations: 0 / 364 MB, free: 8.215 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.000117/0.1449, allocations: 121.8 kB / 364.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/0.145, allocations: 57.53 kB / 364.2 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.1451, allocations: 19.81 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.1451, allocations: 8.078 kB / 364.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1451, allocations: 0 / 364.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1451, allocations: 0 / 364.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.1454, allocations: 189.5 kB / 364.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1454, allocations: 4.031 kB / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1455, allocations: 11.98 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1455, allocations: 0 / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1455, allocations: 4 kB / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1455, allocations: 0 / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1455, allocations: 0 / 364.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1458, allocations: 283.4 kB / 364.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.1459, allocations: 89 kB / 364.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1459, allocations: 11.98 kB / 364.8 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1461, allocations: 8 kB / 364.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.1461, allocations: 8 kB / 364.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.1461, allocations: 3.984 kB / 364.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.1462, allocations: 119.2 kB / 364.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1462, allocations: 3.938 kB / 364.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1465, allocations: 4 kB / 364.9 MB, free: 7.18 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.0001214/0.1466, allocations: 103.2 kB / 365 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1468, allocations: 63.84 kB / 365.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1468, allocations: 0 / 365.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.1469, allocations: 23.97 kB / 365.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.1474, allocations: 32.36 kB / 365.1 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.1479, allocations: 242.7 kB / 365.4 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1482, allocations: 0.7043 MB / 366.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.043e-05/0.1482, allocations: 4 kB / 366.1 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.1483, allocations: 15.42 kB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1483, allocations: 0 / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of Templates: time 0.003441/0.1517, allocations: 0.6236 MB / 366.7 MB, free: 5.324 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