Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001299/0.0013, allocations: 194 kB / 18.12 MB, free: 5.383 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.8 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.2107/0.2107, allocations: 44.18 MB / 336.1 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.19 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1437, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003248/0.147, allocations: 1.617 MB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1486, allocations: 1.004 MB / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.1486, allocations: 0 / 471.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1489, allocations: 19.92 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1491, allocations: 35.84 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1494, allocations: 95.81 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1495, allocations: 55.84 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1496, allocations: 19.97 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.1496, allocations: 19.88 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1498, allocations: 27.84 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1498, allocations: 0 / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1499, allocations: 47.97 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.15, allocations: 15.92 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.15, allocations: 23.86 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1502, allocations: 83.78 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1502, allocations: 0 / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1502, allocations: 7.938 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1502, allocations: 0 / 471.6 MB, free: 11.75 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.0004709/0.1507, allocations: 371.6 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1508, allocations: 8.031 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1508, allocations: 8.844 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.151, allocations: 192.2 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.151, allocations: 4.375 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1511, allocations: 384 / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1512, allocations: 71.52 kB / 472.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1512, allocations: 3.938 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1513, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1513, allocations: 4 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.1514, allocations: 23.92 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1518, allocations: 280.9 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.152, allocations: 50.48 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.1521, allocations: 12.86 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1521, allocations: 0 / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1521, allocations: 42.64 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1521, allocations: 0 / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005791/0.1527, allocations: 141.3 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1528, allocations: 81.11 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1529, allocations: 132.3 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1529, allocations: 25.7 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.153, allocations: 96.12 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.153, allocations: 19.75 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.1531, allocations: 17.72 kB / 473.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1532, allocations: 326.7 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.1532, allocations: 19.98 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.1533, allocations: 33.7 kB / 473.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1535, allocations: 56.84 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1535, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001838/0.1537, allocations: 89.52 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1537, allocations: 4 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1537, allocations: 0 / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1537, allocations: 0 / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.1538, allocations: 15.98 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1538, allocations: 0 / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1538, allocations: 8 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1539, allocations: 3.984 kB / 473.7 MB, free: 9.406 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 8.351e-05/0.1539, allocations: 118.3 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.154, allocations: 7.906 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1542, allocations: 93.81 kB / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1542, allocations: 0 / 473.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1542, allocations: 8.062 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1543, allocations: 7.984 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.1547, allocations: 350.5 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1547, allocations: 4 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.1548, allocations: 15.88 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1548, allocations: 288 / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1548, allocations: 4 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1548, allocations: 7.922 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1548, allocations: 4 kB / 474.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.155, allocations: 175.4 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.1551, allocations: 89.08 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1551, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1552, allocations: 7.938 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1552, allocations: 7.984 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1552, allocations: 4 kB / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.1553, allocations: 103.3 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1553, allocations: 0 / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1556, allocations: 23.91 kB / 474.7 MB, free: 8.289 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.0009862/0.1566, allocations: 455.6 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1568, allocations: 51.95 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1568, allocations: 0 / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.1569, allocations: 23.98 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1572, allocations: 15.98 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.1576, allocations: 183.2 kB / 475.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1579, allocations: 0.6887 MB / 476.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.158, allocations: 15.97 kB / 476.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.158, allocations: 19.42 kB / 476.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1581, allocations: 0 / 476.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.004045/0.1621, allocations: 1.316 MB / 477.4 MB, free: 5.656 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches