Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001395/0.001395, allocations: 181.1 kB / 19.37 MB, free: 3.684 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.295/1.295, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2053/0.2053, allocations: 44.17 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3722, allocations: 60.83 MB / 0.5196 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00301/0.3752, allocations: 1.705 MB / 0.5213 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3766, allocations: 0.8812 MB / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.3767, allocations: 0 / 0.5222 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.377, allocations: 35.42 kB / 0.5222 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.3772, allocations: 55.41 kB / 0.5223 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3776, allocations: 104.6 kB / 0.5224 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3778, allocations: 100.9 kB / 0.5225 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3779, allocations: 19 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.378, allocations: 37.45 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.3781, allocations: 34.55 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3781, allocations: 3.438 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3782, allocations: 43.12 kB / 0.5226 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.3783, allocations: 18.19 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/0.3783, allocations: 37.7 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.3786, allocations: 111.2 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3786, allocations: 0 / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3786, allocations: 0 / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3786, allocations: 5.406 kB / 0.5228 GB, free: 1.566 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.0004949/0.3791, allocations: 404.9 kB / 0.5231 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3791, allocations: 9.406 kB / 0.5231 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.3792, allocations: 9.031 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3794, allocations: 206.7 kB / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3795, allocations: 6.219 kB / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3795, allocations: 6.281 kB / 0.5234 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.3796, allocations: 58.73 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3797, allocations: 7.906 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3797, allocations: 0.7031 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3797, allocations: 5.125 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.3798, allocations: 18.45 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.3801, allocations: 282.9 kB / 0.5237 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3803, allocations: 63.83 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.3803, allocations: 20 kB / 0.5238 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3803, allocations: 1.5 kB / 0.5238 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.3805, allocations: 66.14 kB / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3805, allocations: 0 / 0.5239 GB, free: 500 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005696/0.3811, allocations: 175.9 kB / 0.524 GB, free: 408 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3811, allocations: 61.66 kB / 0.5241 GB, free: 336 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.3813, allocations: 186.8 kB / 0.5243 GB, free: 204 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3813, allocations: 26.86 kB / 0.5243 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.3814, allocations: 99.38 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.3814, allocations: 25.55 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.3815, allocations: 25.91 kB / 0.5244 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3816, allocations: 329.6 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.3817, allocations: 26.45 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.3818, allocations: 43.06 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.3819, allocations: 54.55 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3819, allocations: 0 / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.3821, allocations: 101.2 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3821, allocations: 5.172 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3822, allocations: 1.219 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3822, allocations: 1 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.3823, allocations: 19.72 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3823, allocations: 1.625 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.3823, allocations: 6.812 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3824, allocations: 2.094 kB / 0.525 GB, free: 15.57 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 0.0001089/0.3825, allocations: 129.1 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3825, allocations: 14.05 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.3825, allocations: 15.77 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3826, allocations: 1.469 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3826, allocations: 4 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3826, allocations: 6.062 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.3831, allocations: 389 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3831, allocations: 3.938 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.3831, allocations: 9.266 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3831, allocations: 2.844 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3831, allocations: 6.203 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3831, allocations: 240 / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3831, allocations: 1.5 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.3834, allocations: 222.2 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.3834, allocations: 84.73 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3835, allocations: 4.781 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.3836, allocations: 6.641 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3836, allocations: 5.516 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3836, allocations: 8.969 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.3838, allocations: 143.8 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3838, allocations: 0 / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.3843, allocations: 24.92 kB / 0.526 GB, free: 14.67 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.001132/0.3854, allocations: 474 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3856, allocations: 55.92 kB / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3856, allocations: 0 / 0.5265 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.841e-05/0.3857, allocations: 32.86 kB / 0.5266 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.0003466/0.3861, allocations: 31.02 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.3866, allocations: 247.2 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3869, allocations: 0.7051 MB / 0.5275 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.3869, allocations: 16.53 kB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3869, allocations: 0 / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.003919/0.3909, allocations: 1.914 MB / 0.5294 GB, free: 12.84 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches