Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.12 MB / 344.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.002311, allocations: 74.62 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1926, allocations: 62.46 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.005294/0.1979, allocations: 1.612 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1995, allocations: 0.5455 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.1996, allocations: 0 / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1999, allocations: 71.77 kB / 482.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.2003, allocations: 111.5 kB / 482.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.2006, allocations: 111.7 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.2008, allocations: 75.89 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.201, allocations: 19.98 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.2011, allocations: 51.77 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.2012, allocations: 51.83 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2012, allocations: 0 / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.2013, allocations: 43.98 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.2014, allocations: 23.92 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.2014, allocations: 35.72 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.2017, allocations: 103.7 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2017, allocations: 0 / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.2017, allocations: 0 / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2017, allocations: 3.938 kB / 483 MB, free: 2.324 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.0005662/0.2023, allocations: 419.1 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2023, allocations: 8.031 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.2024, allocations: 12.84 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2026, allocations: 200.8 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2026, allocations: 4.359 kB / 483.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.2027, allocations: 4.375 kB / 483.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.2028, allocations: 57.8 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2029, allocations: 0 / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2029, allocations: 0 / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2029, allocations: 0 / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.203, allocations: 27.92 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.2035, allocations: 316.6 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2036, allocations: 46.56 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.2037, allocations: 16.94 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2037, allocations: 0 / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2038, allocations: 38.5 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2038, allocations: 4 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009448/0.2047, allocations: 229 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.2048, allocations: 55.41 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.205, allocations: 226.3 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2051, allocations: 29.64 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.2051, allocations: 100.1 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.2052, allocations: 31.62 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.2052, allocations: 25.7 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2054, allocations: 326.8 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.2055, allocations: 27.98 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.2056, allocations: 27.98 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2058, allocations: 77.05 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2058, allocations: 3.938 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002438/0.206, allocations: 117.5 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2061, allocations: 4 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2061, allocations: 4 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2061, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2062, allocations: 19.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2062, allocations: 4 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.2063, allocations: 7.938 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.2063, allocations: 4 kB / 485.4 MB, free: 15.67 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001111/0.2064, allocations: 125.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.2064, allocations: 15.81 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2068, allocations: 138.9 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2068, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2068, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2068, allocations: 3.938 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.2074, allocations: 415.7 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2074, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.2075, allocations: 19.98 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2075, allocations: 7.969 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.2075, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2075, allocations: 4 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2075, allocations: 3.938 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.2078, allocations: 224.2 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.2079, allocations: 88.95 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.2079, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.208, allocations: 12 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.208, allocations: 7.984 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.208, allocations: 3.938 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.2082, allocations: 164.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2082, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.2085, allocations: 16 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001647/0.2101, allocations: 468.1 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.2104, allocations: 71.95 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2104, allocations: 0 / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.2105, allocations: 43.92 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2109, allocations: 19.17 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.2115, allocations: 266.9 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.2119, allocations: 0.7157 MB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.212, allocations: 20.66 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.212, allocations: 19.42 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of SimCode: time 2.785e-06/0.2121, allocations: 4 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Templates: time 0.004658/0.2167, allocations: 1.399 MB / 489.6 MB, free: 11.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches