Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000859/0.0008591, allocations: 96.56 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 205.2 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.176/0.176, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002263/0.0002264, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08619, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001586/0.0878, allocations: 1.314 MB / 484.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.08922, allocations: 1.113 MB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.08927, allocations: 3.938 kB / 485.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.08945, allocations: 23.8 kB / 485.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.08965, allocations: 63.81 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.08989, allocations: 86.97 kB / 485.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09001, allocations: 59.84 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.09009, allocations: 7.984 kB / 485.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.09015, allocations: 27.86 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.09026, allocations: 27.84 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.09029, allocations: 7.938 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.09043, allocations: 95.94 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.09047, allocations: 4 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.09053, allocations: 57.48 kB / 486 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.09073, allocations: 131.7 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.09074, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09074, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.09075, allocations: 0 / 486.1 MB, free: 1.117 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.000387/0.09114, allocations: 391.5 kB / 486.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.09118, allocations: 8.875 kB / 486.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.09122, allocations: 8.844 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.09139, allocations: 196.2 kB / 486.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.0914, allocations: 384 / 486.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.09143, allocations: 8.375 kB / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.09157, allocations: 71.45 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.09159, allocations: 4 kB / 486.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.09161, allocations: 0 / 486.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.09161, allocations: 0 / 486.8 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.09171, allocations: 27.98 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.09202, allocations: 284.8 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.0922, allocations: 42.5 kB / 487.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.09226, allocations: 24.86 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.09228, allocations: 96 / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.09231, allocations: 38.55 kB / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.09232, allocations: 0 / 487.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005275/0.09285, allocations: 161.3 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.0929, allocations: 81.11 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.09304, allocations: 144.6 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.09306, allocations: 25.7 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.09311, allocations: 96.03 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.09313, allocations: 23.75 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.09316, allocations: 9.719 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.09325, allocations: 326.8 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.09333, allocations: 19.98 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.09342, allocations: 41.7 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.09357, allocations: 56.7 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.09358, allocations: 0 / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001916/0.09377, allocations: 93.61 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.09379, allocations: 4 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.09381, allocations: 3.984 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.09382, allocations: 4 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.09389, allocations: 8 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.0939, allocations: 4 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.09396, allocations: 7.984 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.09397, allocations: 3.938 kB / 488.3 MB, free: 14.7 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 (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 6.848e-05/0.09404, allocations: 117.8 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.09408, allocations: 7.906 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.09432, allocations: 101.9 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.09433, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.09434, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.09435, allocations: 3.984 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.09476, allocations: 362.4 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.09477, allocations: 384 / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.09484, allocations: 19.98 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.09485, allocations: 0 / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.09486, allocations: 4 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.09487, allocations: 11.92 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09488, allocations: 0 / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.09509, allocations: 183.4 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.09515, allocations: 89 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.09517, allocations: 4 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.09526, allocations: 11.92 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.09529, allocations: 0 / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.0953, allocations: 7.938 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.09539, allocations: 111.2 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.0954, allocations: 4 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.09568, allocations: 39.92 kB / 489.3 MB, free: 13.54 MB / 366.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.000977/0.09666, allocations: 495.6 kB / 489.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.09686, allocations: 47.97 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.09687, allocations: 4 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.09696, allocations: 35.91 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.09725, allocations: 15.94 kB / 489.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.0976, allocations: 188.7 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.09781, allocations: 0.6926 MB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.09787, allocations: 11.98 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.09791, allocations: 15.42 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09792, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Templates: time 0.003775/0.1017, allocations: 1.697 MB / 492.5 MB, free: 10.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches