Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 76.09 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3203, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003426/0.3237, allocations: 1.678 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3249, allocations: 0.5807 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.3249, allocations: 1.375 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3252, allocations: 59.09 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.3256, allocations: 102.9 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.3261, allocations: 180.8 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3263, allocations: 86.16 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3264, allocations: 23.53 kB / 0.5343 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.353e-05/0.3265, allocations: 43.19 kB / 0.5344 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3266, allocations: 51.41 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3267, allocations: 3.656 kB / 0.5344 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3268, allocations: 52.2 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.3269, allocations: 25.23 kB / 0.5345 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.498e-05/0.3269, allocations: 38.22 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.3272, allocations: 123.8 kB / 0.5347 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3272, allocations: 0 / 0.5347 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3272, allocations: 0 / 0.5347 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3272, allocations: 1.125 kB / 0.5347 GB, free: 11.35 MB / 398.1 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.0004964/0.3277, allocations: 412 kB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3278, allocations: 8.938 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3278, allocations: 14.44 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3281, allocations: 199.4 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.3281, allocations: 2.781 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3282, allocations: 6.75 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3283, allocations: 77.69 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3284, allocations: 0 / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3284, allocations: 1.125 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3284, allocations: 1.062 kB / 0.5353 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3285, allocations: 41.03 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.329, allocations: 331.6 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.3293, allocations: 56.77 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.3294, allocations: 29.34 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3294, allocations: 1.375 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3294, allocations: 35.94 kB / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.494e-06/0.3294, allocations: 0 / 0.5358 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001605/0.3311, allocations: 426 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3311, allocations: 56.47 kB / 0.5363 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.3313, allocations: 187.9 kB / 0.5365 GB, free: 9.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3313, allocations: 30.83 kB / 0.5365 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3314, allocations: 104.3 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.3314, allocations: 39.89 kB / 0.5366 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.3315, allocations: 26.42 kB / 0.5366 GB, free: 9.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3316, allocations: 323 kB / 0.537 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.3318, allocations: 52.09 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.332, allocations: 57.23 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.3323, allocations: 128.5 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3323, allocations: 0 / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003533/0.3326, allocations: 167.8 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3327, allocations: 5.688 kB / 0.5373 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3327, allocations: 4 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3327, allocations: 1.094 kB / 0.5374 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3329, allocations: 32.53 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3329, allocations: 1.094 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.333, allocations: 6.125 kB / 0.5374 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.333, allocations: 6.562 kB / 0.5374 GB, free: 9.02 MB / 398.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 (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 0.0001/0.3331, allocations: 132.3 kB / 0.5375 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3332, allocations: 13.38 kB / 0.5375 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.3336, allocations: 194 kB / 0.5377 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3336, allocations: 6.25 kB / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3336, allocations: 0 / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3336, allocations: 0 / 0.5377 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.3344, allocations: 0.5011 MB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3344, allocations: 1.062 kB / 0.5382 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.3345, allocations: 24.17 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3345, allocations: 2.125 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3346, allocations: 1.25 kB / 0.5382 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3346, allocations: 5.188 kB / 0.5382 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3346, allocations: 1.469 kB / 0.5383 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.335, allocations: 288.8 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.3351, allocations: 89.05 kB / 0.5386 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3351, allocations: 5.203 kB / 0.5386 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3352, allocations: 10.44 kB / 0.5386 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.3353, allocations: 13.39 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3353, allocations: 3.562 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3354, allocations: 151.7 kB / 0.5388 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3354, allocations: 0 / 0.5388 GB, free: 7.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3357, allocations: 23.31 kB / 0.5388 GB, free: 7.84 MB / 398.1 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.001129/0.3369, allocations: 461.2 kB / 0.5392 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003773/0.3372, allocations: 128.3 kB / 0.5394 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3373, allocations: 4 kB / 0.5394 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.3375, allocations: 67.73 kB / 0.5394 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.3378, allocations: 27.7 kB / 0.5395 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.3385, allocations: 328.9 kB / 0.5398 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.3388, allocations: 0.7259 MB / 0.5405 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.3389, allocations: 16.97 kB / 0.5405 GB, free: 6.508 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3389, allocations: 0 / 0.5405 GB, free: 6.508 MB / 398.1 MB Notification: Performance of Templates: time 0.004326/0.3432, allocations: 2.069 MB / 0.5425 GB, free: 5.438 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches