Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.00186, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009314/0.0009315, allocations: 101.5 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3835/0.3835, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3141, allocations: 62.01 MB / 0.5151 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002507/0.3166, allocations: 1.67 MB / 0.5168 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.3174, allocations: 0.5401 MB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.3175, allocations: 10.81 kB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3177, allocations: 75.08 kB / 0.5174 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.3179, allocations: 86.77 kB / 0.5175 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.3182, allocations: 107.2 kB / 0.5176 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3183, allocations: 73.45 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.3184, allocations: 20.83 kB / 0.5177 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.3184, allocations: 33.05 kB / 0.5177 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.3185, allocations: 54.83 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3185, allocations: 0 / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.3186, allocations: 50.17 kB / 0.5178 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.3187, allocations: 20.03 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.3187, allocations: 34.39 kB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3188, allocations: 99.84 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3189, allocations: 4 kB / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3189, allocations: 7.938 kB / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3189, allocations: 0 / 0.518 GB, free: 35.95 MB / 378.7 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.0003633/0.3192, allocations: 407.6 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.3193, allocations: 8.531 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.3193, allocations: 14.31 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3195, allocations: 199 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3195, allocations: 7.188 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3195, allocations: 3.219 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.3196, allocations: 59.97 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3196, allocations: 0 / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.3197, allocations: 2.844 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3197, allocations: 0 / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.3197, allocations: 25.66 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.3201, allocations: 307 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.3202, allocations: 50.38 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.3202, allocations: 18.55 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.3202, allocations: 3.562 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.3202, allocations: 30.56 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3202, allocations: 0 / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007511/0.321, allocations: 235.1 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.321, allocations: 55.34 kB / 0.5193 GB, free: 34.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3212, allocations: 215.2 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.3212, allocations: 29.7 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.3212, allocations: 104.7 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3213, allocations: 32.38 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.3213, allocations: 23.47 kB / 0.5197 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.736e-05/0.3214, allocations: 320.9 kB / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.3214, allocations: 31.75 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.3215, allocations: 35.59 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.3217, allocations: 71.39 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3217, allocations: 4 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00025/0.322, allocations: 112.1 kB / 0.5203 GB, free: 33.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.322, allocations: 6 kB / 0.5203 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.322, allocations: 3.938 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.322, allocations: 2.812 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.3221, allocations: 15.2 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3221, allocations: 0 / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.3222, allocations: 17.22 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3222, allocations: 432 / 0.5203 GB, free: 33.98 MB / 378.7 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 6.198e-05/0.3222, allocations: 132.8 kB / 0.5204 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3223, allocations: 9 kB / 0.5204 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3225, allocations: 135.7 kB / 0.5206 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3225, allocations: 10.7 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3225, allocations: 0 / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3225, allocations: 3.938 kB / 0.5206 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.323, allocations: 420.2 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.323, allocations: 0 / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.323, allocations: 21.56 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3231, allocations: 3.938 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3231, allocations: 2.812 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3231, allocations: 0 / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3231, allocations: 0 / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.3235, allocations: 0.8161 MB / 0.5218 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.3235, allocations: 84.02 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3235, allocations: 2.75 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.3236, allocations: 10.16 kB / 0.5219 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3237, allocations: 6.281 kB / 0.5219 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3237, allocations: 6.969 kB / 0.5219 GB, free: 32.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.3238, allocations: 170.7 kB / 0.5221 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3238, allocations: 3.938 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.3241, allocations: 25.34 kB / 0.5221 GB, free: 32.41 MB / 378.7 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.000844/0.325, allocations: 447.7 kB / 0.5225 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.3252, allocations: 72.66 kB / 0.5226 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3252, allocations: 0 / 0.5226 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.422e-05/0.3253, allocations: 45.12 kB / 0.5226 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.3256, allocations: 21.11 kB / 0.5227 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.3261, allocations: 421.7 kB / 0.5231 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.3262, allocations: 0.7091 MB / 0.5237 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.3e-05/0.3263, allocations: 20.55 kB / 0.5238 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.3263, allocations: 20.28 kB / 0.5238 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3263, allocations: 0 / 0.5238 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.00312/0.3294, allocations: 1.353 MB / 0.5251 GB, free: 30.94 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches