Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001132/0.001132, allocations: 194 kB / 18.77 MB, free: 4.742 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.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2091/0.2091, allocations: 44.18 MB / 336.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 55.91 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.09036, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002936/0.09333, allocations: 1.625 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.09476, allocations: 0.992 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.09484, allocations: 4 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.09505, allocations: 19.91 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.09524, allocations: 35.91 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.0955, allocations: 74.73 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.09564, allocations: 51.83 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.09574, allocations: 16 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.09579, allocations: 23.86 kB / 472 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.09592, allocations: 23.91 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.09595, allocations: 4 kB / 472 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.09606, allocations: 43.92 kB / 472.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.09611, allocations: 15.92 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.09617, allocations: 15.88 kB / 472.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.09632, allocations: 67.89 kB / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.09633, allocations: 0 / 472.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.09634, allocations: 8 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.09635, allocations: 0 / 472.2 MB, free: 11.81 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.0004239/0.09678, allocations: 375.6 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.09682, allocations: 12.02 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.09687, allocations: 8.844 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.09705, allocations: 184.2 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.09707, allocations: 4.312 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.09709, allocations: 384 / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.09725, allocations: 71.52 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.09727, allocations: 3.984 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.09729, allocations: 4 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.0973, allocations: 3.938 kB / 472.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.0974, allocations: 19.98 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.09774, allocations: 272.8 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.09795, allocations: 42.56 kB / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.09801, allocations: 20.94 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.09804, allocations: 0 / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.09807, allocations: 34.56 kB / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.09807, allocations: 0 / 473.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005436/0.09862, allocations: 141.3 kB / 473.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.09868, allocations: 77.11 kB / 473.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.09881, allocations: 141 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.09883, allocations: 25.7 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.09888, allocations: 92.14 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.09891, allocations: 15.73 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.09895, allocations: 17.72 kB / 473.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.09906, allocations: 330.8 kB / 474 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.09914, allocations: 19.92 kB / 474.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.09922, allocations: 41.7 kB / 474.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.09935, allocations: 36.84 kB / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.09936, allocations: 0 / 474.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.09955, allocations: 89.59 kB / 474.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.09957, allocations: 6.656 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.09958, allocations: 0 / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.0996, allocations: 0 / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.09967, allocations: 15.98 kB / 474.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.09968, allocations: 3.938 kB / 474.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.09973, allocations: 4 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.09974, allocations: 0 / 474.3 MB, free: 9.5 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.017e-05/0.09983, allocations: 122.3 kB / 474.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.09987, allocations: 7.906 kB / 474.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.1001, allocations: 93.61 kB / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1001, allocations: 0 / 474.5 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1001, allocations: 3.984 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1001, allocations: 0 / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1005, allocations: 346.5 kB / 474.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1006, allocations: 0 / 474.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.1006, allocations: 12.3 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1006, allocations: 0 / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1006, allocations: 4 kB / 474.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1006, allocations: 7.938 kB / 474.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1007, allocations: 0 / 474.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1009, allocations: 183.4 kB / 475 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.1009, allocations: 81.05 kB / 475.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1009, allocations: 4 kB / 475.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.101, allocations: 7.938 kB / 475.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1011, allocations: 7.984 kB / 475.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1011, allocations: 0 / 475.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.1012, allocations: 103.3 kB / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1012, allocations: 0 / 475.2 MB, free: 8.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1014, allocations: 23.91 kB / 475.2 MB, free: 8.406 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.0009556/0.1024, allocations: 454 kB / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1026, allocations: 47.97 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1026, allocations: 0 / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.1027, allocations: 27.92 kB / 475.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.103, allocations: 11.98 kB / 475.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.1034, allocations: 200.9 kB / 476 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1036, allocations: 0.6866 MB / 476.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1037, allocations: 19.42 kB / 476.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1037, allocations: 0 / 476.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of Templates: time 0.003153/0.1068, allocations: 1.551 MB / 478.2 MB, free: 5.531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches