Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1812/0.1812, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3131, allocations: 60.82 MB / 0.519 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002707/0.3159, allocations: 1.709 MB / 0.5206 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.317, allocations: 0.8715 MB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.3171, allocations: 5.25 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.3174, allocations: 32.64 kB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.3176, allocations: 52.06 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3179, allocations: 110.8 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.318, allocations: 99.3 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3181, allocations: 12.19 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.3182, allocations: 45.17 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.3183, allocations: 26.41 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3183, allocations: 3.25 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.3184, allocations: 46.44 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.3185, allocations: 16.12 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.3185, allocations: 30.25 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3187, allocations: 112.2 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3187, allocations: 0 / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3187, allocations: 4 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3187, allocations: 0 / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004027/0.3191, allocations: 394.3 kB / 0.5224 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3192, allocations: 9.656 kB / 0.5225 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.3192, allocations: 13.38 kB / 0.5225 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3194, allocations: 201.1 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3194, allocations: 14.92 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3194, allocations: 2.219 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.3196, allocations: 61.69 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3196, allocations: 0 / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3196, allocations: 1.984 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3196, allocations: 1.344 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.3197, allocations: 21.61 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.32, allocations: 283.8 kB / 0.523 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3201, allocations: 60.88 kB / 0.5231 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.3202, allocations: 23.14 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3202, allocations: 1.094 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.3203, allocations: 62.95 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3203, allocations: 0 / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004554/0.3208, allocations: 170.5 kB / 0.5233 GB, free: 392 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.3208, allocations: 66.38 kB / 0.5234 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.321, allocations: 158.2 kB / 0.5235 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.321, allocations: 29.7 kB / 0.5236 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.321, allocations: 98.78 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.321, allocations: 17.3 kB / 0.5237 GB, free: 52 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3211, allocations: 26.62 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3212, allocations: 322.2 kB / 0.524 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-05/0.3213, allocations: 20.62 kB / 0.524 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.3213, allocations: 47.08 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3215, allocations: 58.94 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3215, allocations: 0 / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.3217, allocations: 104.3 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3217, allocations: 5.375 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3217, allocations: 1.125 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3217, allocations: 9.062 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.3218, allocations: 15.34 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3218, allocations: 1.344 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.3218, allocations: 2.922 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3219, allocations: 7.719 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.213e-05/0.322, allocations: 126 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.322, allocations: 9.109 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.322, allocations: 18.19 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.322, allocations: 5.594 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.322, allocations: 4.609 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.322, allocations: 1.922 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.3225, allocations: 389.4 kB / 0.5248 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3225, allocations: 2.578 kB / 0.5248 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.3225, allocations: 8.547 kB / 0.5248 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3225, allocations: 1.625 kB / 0.5248 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3225, allocations: 10.19 kB / 0.5248 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3225, allocations: 0.75 kB / 0.5248 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3225, allocations: 5.562 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3228, allocations: 195.7 kB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.3228, allocations: 89.58 kB / 0.5251 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3228, allocations: 10.8 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.3229, allocations: 1.812 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.323, allocations: 6.25 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.323, allocations: 8.578 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.626e-05/0.3231, allocations: 128.2 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3231, allocations: 0 / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.3233, allocations: 20.39 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009542/0.3243, allocations: 477.2 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.3244, allocations: 63.62 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3245, allocations: 0 / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/0.3245, allocations: 29.73 kB / 0.5258 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3249, allocations: 30.22 kB / 0.5258 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.3253, allocations: 201 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3255, allocations: 0.701 MB / 0.5267 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.3256, allocations: 17.53 kB / 0.5267 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3256, allocations: 16.75 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3256, allocations: 0 / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.005025/0.3307, allocations: 1.731 MB / 0.5284 GB, free: 12.99 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches