Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001078/0.001078, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.375/1.375, allocations: 222.9 MB / 243 MB, free: 15.1 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.2113/0.2113, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 68.8 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08682, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002502/0.08935, allocations: 1.625 MB / 472.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.09059, allocations: 1.058 MB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.09064, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.09081, allocations: 23.86 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.09099, allocations: 51.7 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.09133, allocations: 166.9 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.09147, allocations: 63.78 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.09157, allocations: 27.97 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.803e-05/0.09161, allocations: 23.92 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.09172, allocations: 31.84 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.09174, allocations: 4 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.889e-05/0.09184, allocations: 55.91 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.09189, allocations: 15.94 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.09194, allocations: 31.84 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.0921, allocations: 95.7 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.09211, allocations: 0 / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09211, allocations: 0 / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.09212, allocations: 4 kB / 474 MB, free: 10.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000393/0.09252, allocations: 387.2 kB / 474.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.09255, allocations: 8.031 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.09259, allocations: 8.844 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.09276, allocations: 192.2 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.09278, allocations: 8.375 kB / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.0928, allocations: 384 / 474.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.09297, allocations: 79.52 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.09299, allocations: 0 / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.093, allocations: 0 / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.09301, allocations: 0 / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.09316, allocations: 39.95 kB / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.09352, allocations: 312.7 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.09364, allocations: 42.56 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.09371, allocations: 28.88 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.09373, allocations: 4 kB / 475.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.09376, allocations: 38.56 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.09376, allocations: 0 / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006892/0.09446, allocations: 221.2 kB / 475.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.09451, allocations: 81.11 kB / 475.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.09462, allocations: 141.8 kB / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.09465, allocations: 29.7 kB / 475.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.0947, allocations: 92.12 kB / 475.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.09472, allocations: 23.66 kB / 475.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.09476, allocations: 21.7 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.09486, allocations: 326.7 kB / 476 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.09498, allocations: 43.95 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.09509, allocations: 49.69 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.09529, allocations: 84.8 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.0953, allocations: 0 / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002581/0.09556, allocations: 130.1 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.09558, allocations: 7.938 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.09559, allocations: 4 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.0956, allocations: 0 / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.801e-05/0.0957, allocations: 19.98 kB / 476.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.09572, allocations: 8.062 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.09577, allocations: 15.91 kB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.09579, allocations: 8 kB / 476.4 MB, free: 7.734 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 (7): * Single equations (assignments): 7 * 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 7.235e-05/0.09587, allocations: 113.8 kB / 476.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.0959, allocations: 7.906 kB / 476.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.09619, allocations: 137.9 kB / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.0962, allocations: 0 / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.09621, allocations: 0 / 476.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.09622, allocations: 7.922 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.09669, allocations: 406.5 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.0967, allocations: 0 / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.09678, allocations: 15.98 kB / 477 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.09679, allocations: 3.938 kB / 477 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.09681, allocations: 15.88 kB / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.09682, allocations: 0 / 477.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.09682, allocations: 4 kB / 477.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.09712, allocations: 215.4 kB / 477.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.09716, allocations: 81.02 kB / 477.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.09718, allocations: 7.938 kB / 477.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.09727, allocations: 7.984 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.09731, allocations: 11.98 kB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.09732, allocations: 4 kB / 477.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.09738, allocations: 106.2 kB / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09739, allocations: 0 / 477.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.09765, allocations: 24 kB / 477.5 MB, free: 6.484 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 (7): * Single equations (assignments): 7 * 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.0008831/0.09854, allocations: 461.2 kB / 478 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.09883, allocations: 87.92 kB / 478.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.09884, allocations: 0 / 478.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.09896, allocations: 47.91 kB / 478.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.09924, allocations: 23.61 kB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.0996, allocations: 206.3 kB / 478.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.09983, allocations: 0.6963 MB / 479 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.09991, allocations: 23.94 kB / 479 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.09995, allocations: 19.42 kB / 479.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09995, allocations: 0 / 479.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of Templates: time 0.003564/0.1035, allocations: 1.529 MB / 480.6 MB, free: 3.523 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches