Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 109.7 kB / 17.21 MB, free: 6.285 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.001588/0.001588, allocations: 190 kB / 18.12 MB, free: 5.379 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.44/1.44, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2323/0.2323, allocations: 44.19 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 64.08 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1439, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.004004/0.1479, allocations: 1.617 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.149, allocations: 407.3 kB / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.1491, allocations: 0 / 470.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1494, allocations: 31.89 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1496, allocations: 19.92 kB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.15, allocations: 98.83 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1502, allocations: 59.78 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1503, allocations: 23.91 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.1504, allocations: 11.94 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.1504, allocations: 19.86 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1505, allocations: 4 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1506, allocations: 31.92 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1506, allocations: 23.91 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.1507, allocations: 23.81 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1509, allocations: 71.8 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1509, allocations: 0 / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1509, allocations: 0 / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1509, allocations: 0 / 471 MB, free: 12.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005909/0.1515, allocations: 383.5 kB / 471.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1516, allocations: 8.031 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.1516, allocations: 8.844 kB / 471.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1519, allocations: 198.7 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1519, allocations: 8.312 kB / 471.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.1519, allocations: 4.375 kB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1521, allocations: 49.81 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1521, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1521, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1521, allocations: 0 / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.1522, allocations: 31.91 kB / 471.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.1527, allocations: 280.8 kB / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.1529, allocations: 50.5 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.153, allocations: 16.94 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.153, allocations: 0 / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.153, allocations: 34.56 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.153, allocations: 4 kB / 472 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005832/0.1536, allocations: 149.3 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1537, allocations: 51.41 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1538, allocations: 169.8 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.1539, allocations: 25.7 kB / 472.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.1539, allocations: 96.12 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.154, allocations: 23.66 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.154, allocations: 17.72 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1541, allocations: 322.8 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.1542, allocations: 19.98 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.1543, allocations: 19.98 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1544, allocations: 52.77 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1544, allocations: 11.98 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001891/0.1546, allocations: 81.58 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1547, allocations: 4 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1547, allocations: 3.938 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1547, allocations: 288 / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1548, allocations: 15.98 kB / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1548, allocations: 0 / 473 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.1548, allocations: 4 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1548, allocations: 4 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001093/0.155, allocations: 134.2 kB / 473.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.155, allocations: 11.89 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1553, allocations: 101.9 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1553, allocations: 0 / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1553, allocations: 0 / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1553, allocations: 0 / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.1557, allocations: 362.7 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1557, allocations: 8.062 kB / 473.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.1558, allocations: 11.94 kB / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1558, allocations: 0 / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.1558, allocations: 0 / 473.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1558, allocations: 3.938 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1558, allocations: 4 kB / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1561, allocations: 183.4 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1562, allocations: 88.95 kB / 473.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.1562, allocations: 3.984 kB / 473.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1563, allocations: 7.938 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1563, allocations: 0 / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1563, allocations: 7.984 kB / 474 MB, free: 9.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1564, allocations: 126 kB / 474.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1564, allocations: 8 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1567, allocations: 16 kB / 474.1 MB, free: 8.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009424/0.1576, allocations: 395.5 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1578, allocations: 51.97 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1579, allocations: 0 / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.931e-05/0.1579, allocations: 31.92 kB / 474.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1583, allocations: 19.92 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.1587, allocations: 204.2 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.159, allocations: 0.7043 MB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1591, allocations: 11.98 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1591, allocations: 11.44 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1591, allocations: 0 / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of Templates: time 0.00365/0.1628, allocations: 1.063 MB / 476.6 MB, free: 6.527 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches