Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 101.9 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3951/0.3951, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 51.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3775, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002785/0.3803, allocations: 1.618 MB / 0.508 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3815, allocations: 1.016 MB / 0.509 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.3816, allocations: 0 / 0.509 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.3818, allocations: 17.08 kB / 0.509 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.382, allocations: 42.62 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3822, allocations: 95.14 kB / 0.5091 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.3823, allocations: 54.19 kB / 0.5092 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.3824, allocations: 14.83 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.3825, allocations: 22.45 kB / 0.5092 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3826, allocations: 33.78 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3826, allocations: 2.969 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.3827, allocations: 39.86 kB / 0.5093 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.3828, allocations: 14.08 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3828, allocations: 20.55 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.383, allocations: 86.83 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.383, allocations: 0 / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.383, allocations: 0 / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.383, allocations: 0 / 0.5094 GB, free: 36.22 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.0003966/0.3834, allocations: 388.5 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3834, allocations: 11.97 kB / 0.5098 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.3835, allocations: 7.469 kB / 0.5098 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3836, allocations: 182.5 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3837, allocations: 3.312 kB / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3837, allocations: 384 / 0.5099 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3838, allocations: 67.8 kB / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3838, allocations: 3.938 kB / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3839, allocations: 0 / 0.51 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3839, allocations: 6.719 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.384, allocations: 27.11 kB / 0.51 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.3843, allocations: 280.7 kB / 0.5103 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3845, allocations: 46.16 kB / 0.5104 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.3845, allocations: 22.02 kB / 0.5104 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3845, allocations: 0 / 0.5104 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.3846, allocations: 34.5 kB / 0.5104 GB, free: 35.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3846, allocations: 0 / 0.5104 GB, free: 35.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000492/0.3851, allocations: 147.9 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3851, allocations: 81.11 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/0.3852, allocations: 136.2 kB / 0.5108 GB, free: 34.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.3852, allocations: 25.7 kB / 0.5108 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.3853, allocations: 98.3 kB / 0.5109 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3853, allocations: 14.69 kB / 0.5109 GB, free: 34.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.3853, allocations: 22.83 kB / 0.5109 GB, free: 34.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.318e-05/0.3854, allocations: 318.8 kB / 0.5112 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.3854, allocations: 22.2 kB / 0.5112 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.3855, allocations: 38.62 kB / 0.5113 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3856, allocations: 53.78 kB / 0.5113 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3856, allocations: 0 / 0.5113 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001578/0.3858, allocations: 90.11 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3858, allocations: 5.562 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3858, allocations: 3.984 kB / 0.5114 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3859, allocations: 4.031 kB / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/0.3859, allocations: 14.11 kB / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3859, allocations: 0 / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.386, allocations: 6.047 kB / 0.5114 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.386, allocations: 0 / 0.5114 GB, free: 34.31 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.636e-05/0.3861, allocations: 119.9 kB / 0.5116 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.3861, allocations: 6.5 kB / 0.5116 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.3863, allocations: 102.2 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3863, allocations: 0 / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3863, allocations: 3.562 kB / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3863, allocations: 0 / 0.5117 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.3867, allocations: 348.3 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3867, allocations: 0 / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.3867, allocations: 13.78 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3867, allocations: 4 kB / 0.512 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3868, allocations: 7.938 kB / 0.512 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3868, allocations: 11.44 kB / 0.512 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3868, allocations: 10.5 kB / 0.512 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3872, allocations: 0.755 MB / 0.5128 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.3872, allocations: 81.02 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.3872, allocations: 2.938 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.3873, allocations: 10.09 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.3873, allocations: 2.969 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3873, allocations: 0 / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.3874, allocations: 104.6 kB / 0.513 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 0 / 0.513 GB, free: 32.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.3877, allocations: 22.53 kB / 0.513 GB, free: 32.85 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.0009011/0.3886, allocations: 450.5 kB / 0.5134 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3888, allocations: 53.75 kB / 0.5135 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3889, allocations: 6.938 kB / 0.5135 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.3889, allocations: 25.72 kB / 0.5135 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.3892, allocations: 20.12 kB / 0.5135 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.3896, allocations: 294.3 kB / 0.5138 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3898, allocations: 0.6972 MB / 0.5145 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.296e-05/0.3899, allocations: 11.56 kB / 0.5145 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.3899, allocations: 13.28 kB / 0.5145 GB, free: 31.63 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3899, allocations: 0 / 0.5145 GB, free: 31.63 MB / 378.7 MB Notification: Performance of Templates: time 0.00352/0.3934, allocations: 1.338 MB / 0.5158 GB, free: 31.46 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches