Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, 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.3/1.3, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009363/0.0009363, allocations: 110.2 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3709/0.3709, allocations: 44.82 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3132, allocations: 62.02 MB / 0.5151 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002834/0.3161, allocations: 1.653 MB / 0.5168 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3176, allocations: 1.131 MB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.3176, allocations: 3.344 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.3179, allocations: 33.03 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.3182, allocations: 69.09 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.3185, allocations: 96.75 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3186, allocations: 65.88 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3187, allocations: 14.02 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.3188, allocations: 19.95 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3189, allocations: 37.69 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3189, allocations: 3.125 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.3191, allocations: 95.97 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.3192, allocations: 9.688 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.3192, allocations: 21.03 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.3194, allocations: 135.7 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3194, allocations: 2.906 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3195, allocations: 0 / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3195, allocations: 0 / 0.5184 GB, free: 35.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004874/0.32, allocations: 397.6 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.32, allocations: 9.906 kB / 0.5188 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.3201, allocations: 18.92 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3203, allocations: 195.3 kB / 0.519 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3203, allocations: 3.469 kB / 0.519 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3203, allocations: 384 / 0.519 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3205, allocations: 69.52 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3205, allocations: 0 / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3205, allocations: 0 / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3205, allocations: 0 / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/0.3206, allocations: 30.44 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.321, allocations: 281.9 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3212, allocations: 43.31 kB / 0.5194 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.3213, allocations: 16.8 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3213, allocations: 3.938 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3213, allocations: 38.56 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3213, allocations: 0 / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005382/0.3219, allocations: 145.7 kB / 0.5196 GB, free: 34.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3219, allocations: 81.11 kB / 0.5197 GB, free: 34.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3221, allocations: 149.6 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.3221, allocations: 29.7 kB / 0.5199 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.3221, allocations: 91.7 kB / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.3222, allocations: 19.11 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3222, allocations: 23.56 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.3223, allocations: 325 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.3223, allocations: 19.05 kB / 0.5203 GB, free: 33.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.947e-05/0.3224, allocations: 38.75 kB / 0.5204 GB, free: 33.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3225, allocations: 52.42 kB / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3226, allocations: 0 / 0.5204 GB, free: 33.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001577/0.3227, allocations: 92.97 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3227, allocations: 5.625 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3228, allocations: 0 / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3228, allocations: 256 / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.3228, allocations: 15.38 kB / 0.5205 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3228, allocations: 7.328 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.3229, allocations: 2.75 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3229, allocations: 3.938 kB / 0.5206 GB, free: 33.63 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 (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 5.963e-05/0.323, allocations: 115.5 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.323, allocations: 9.984 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3232, allocations: 95.16 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3232, allocations: 6.594 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3232, allocations: 3.281 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3233, allocations: 0 / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3236, allocations: 358.4 kB / 0.5211 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3236, allocations: 0 / 0.5211 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.3237, allocations: 15.91 kB / 0.5211 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3237, allocations: 0 / 0.5211 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3237, allocations: 3.125 kB / 0.5211 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3237, allocations: 7.938 kB / 0.5211 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3237, allocations: 0 / 0.5211 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3241, allocations: 0.7601 MB / 0.5219 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.3242, allocations: 83.95 kB / 0.522 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.3242, allocations: 7.609 kB / 0.522 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-05/0.3243, allocations: 10.64 kB / 0.522 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.3243, allocations: 5.938 kB / 0.522 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3243, allocations: 2.656 kB / 0.522 GB, free: 32.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.9e-05/0.3244, allocations: 112.2 kB / 0.5221 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3244, allocations: 0 / 0.5221 GB, free: 32.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.3248, allocations: 41.59 kB / 0.5221 GB, free: 32.16 MB / 378.7 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.0009681/0.3258, allocations: 494.9 kB / 0.5226 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.326, allocations: 50.88 kB / 0.5227 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.326, allocations: 6.844 kB / 0.5227 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.023e-05/0.3261, allocations: 26.92 kB / 0.5227 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3264, allocations: 17.95 kB / 0.5227 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.3268, allocations: 316.2 kB / 0.523 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.327, allocations: 0.6898 MB / 0.5237 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.317e-05/0.327, allocations: 19.34 kB / 0.5237 GB, free: 30.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.3271, allocations: 13.22 kB / 0.5237 GB, free: 30.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3271, allocations: 0 / 0.5237 GB, free: 30.9 MB / 378.7 MB Notification: Performance of Templates: time 0.003702/0.3308, allocations: 1.754 MB / 0.5254 GB, free: 30.69 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches