Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 202.2 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 229.5 MB / 247.7 MB, free: 6.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007738/0.0007738, allocations: 91.44 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3296/0.3296, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3094, allocations: 63.1 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.001533/0.311, allocations: 1.376 MB / 0.5227 GB, free: 37.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.3118, allocations: 0.7668 MB / 0.5235 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.3118, allocations: 0 / 0.5235 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.312, allocations: 56.7 kB / 0.5235 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3122, allocations: 78.27 kB / 0.5236 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.3125, allocations: 160.8 kB / 0.5237 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3127, allocations: 84.89 kB / 0.5238 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.35e-05/0.3128, allocations: 23.02 kB / 0.5239 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.3128, allocations: 41.95 kB / 0.5239 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.3129, allocations: 41.91 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3129, allocations: 3.094 kB / 0.5239 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.313, allocations: 38.41 kB / 0.524 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.3131, allocations: 23.92 kB / 0.524 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.3131, allocations: 55 kB / 0.524 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3133, allocations: 109.5 kB / 0.5242 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3133, allocations: 4 kB / 0.5242 GB, free: 36.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3133, allocations: 4 kB / 0.5242 GB, free: 36.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3133, allocations: 0 / 0.5242 GB, free: 36.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003293/0.3136, allocations: 409 kB / 0.5245 GB, free: 36.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3137, allocations: 9.844 kB / 0.5246 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.3137, allocations: 9.031 kB / 0.5246 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3138, allocations: 206.1 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.3139, allocations: 3.406 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3139, allocations: 3.219 kB / 0.5248 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.314, allocations: 78.28 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.314, allocations: 0 / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3141, allocations: 4 kB / 0.5248 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3141, allocations: 2.844 kB / 0.5249 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.3142, allocations: 52.64 kB / 0.5249 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.3145, allocations: 321.4 kB / 0.5252 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3147, allocations: 63.36 kB / 0.5253 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.3148, allocations: 29.7 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3148, allocations: 4 kB / 0.5253 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.3148, allocations: 33.47 kB / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3148, allocations: 0 / 0.5253 GB, free: 35.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001209/0.3161, allocations: 0.4895 MB / 0.5258 GB, free: 35.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.3161, allocations: 58.06 kB / 0.5259 GB, free: 35.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3162, allocations: 197.4 kB / 0.5261 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.3162, allocations: 25.7 kB / 0.5261 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.3163, allocations: 109.1 kB / 0.5262 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3163, allocations: 40.14 kB / 0.5262 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.3163, allocations: 0 / 0.5262 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.953e-05/0.3163, allocations: 325.2 kB / 0.5265 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3165, allocations: 64.41 kB / 0.5266 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.3166, allocations: 65.16 kB / 0.5267 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3168, allocations: 142.6 kB / 0.5268 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3168, allocations: 0 / 0.5268 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000268/0.3171, allocations: 181.3 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3171, allocations: 5.719 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3171, allocations: 192 / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3172, allocations: 5.969 kB / 0.527 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3173, allocations: 39.28 kB / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.3173, allocations: 0 / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.3173, allocations: 15.95 kB / 0.527 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3174, allocations: 6.812 kB / 0.527 GB, free: 34.43 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 (11): * Single equations (assignments): 11 * 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.457e-05/0.3174, allocations: 128.4 kB / 0.5272 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.3175, allocations: 13.34 kB / 0.5272 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.3178, allocations: 208.2 kB / 0.5274 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3178, allocations: 6.562 kB / 0.5274 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3178, allocations: 0 / 0.5274 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3178, allocations: 4 kB / 0.5274 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.3184, allocations: 0.5144 MB / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3184, allocations: 2.844 kB / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.3185, allocations: 30.22 kB / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3185, allocations: 0 / 0.5279 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3185, allocations: 6.969 kB / 0.5279 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3185, allocations: 0 / 0.5279 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3185, allocations: 7.156 kB / 0.5279 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3188, allocations: 288.6 kB / 0.5282 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.3188, allocations: 90.14 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3189, allocations: 5.812 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.3189, allocations: 16.05 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.319, allocations: 9.672 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.319, allocations: 7.938 kB / 0.5283 GB, free: 33.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.925e-05/0.3191, allocations: 148.7 kB / 0.5285 GB, free: 33.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3191, allocations: 0 / 0.5285 GB, free: 33.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.3193, allocations: 30.06 kB / 0.5285 GB, free: 33.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008565/0.3202, allocations: 0.5006 MB / 0.529 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3205, allocations: 155.9 kB / 0.5291 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3205, allocations: 0 / 0.5291 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3206, allocations: 80.94 kB / 0.5292 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.321, allocations: 30.16 kB / 0.5292 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.3214, allocations: 336.1 kB / 0.5296 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3215, allocations: 0.722 MB / 0.5303 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.3216, allocations: 28.73 kB / 0.5303 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3216, allocations: 16.88 kB / 0.5303 GB, free: 32.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3216, allocations: 4 kB / 0.5303 GB, free: 32.06 MB / 378.7 MB Notification: Performance of Templates: time 0.003178/0.3248, allocations: 1.513 MB / 0.5318 GB, free: 31.89 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches