Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 108.3 kB / 17.74 MB, free: 5.195 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.001002/0.001002, allocations: 192.1 kB / 18.68 MB, free: 4.266 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.258/1.258, 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.1918/0.1918, allocations: 44.19 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3682, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.00349/0.3717, allocations: 1.576 MB / 0.5204 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3733, allocations: 1.028 MB / 0.5214 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.3734, allocations: 0 / 0.5214 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3737, allocations: 20.8 kB / 0.5214 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.3739, allocations: 46.14 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.3742, allocations: 109.7 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3744, allocations: 60.56 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3745, allocations: 16.27 kB / 0.5216 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.3745, allocations: 18.75 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3747, allocations: 26.03 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3747, allocations: 3.188 kB / 0.5217 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3748, allocations: 54.2 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.3749, allocations: 8.469 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.3749, allocations: 22.2 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3751, allocations: 90.22 kB / 0.5219 GB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3751, allocations: 9.062 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3752, allocations: 0 / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3752, allocations: 3.938 kB / 0.5219 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004038/0.3756, allocations: 371.4 kB / 0.5222 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3756, allocations: 8.469 kB / 0.5222 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3757, allocations: 9.188 kB / 0.5222 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3758, allocations: 187.2 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-06/0.3758, allocations: 1.531 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3759, allocations: 7.312 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.376, allocations: 66.17 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.376, allocations: 0 / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3761, allocations: 2.078 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3761, allocations: 0 / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.429e-05/0.3762, allocations: 24.02 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.3765, allocations: 282.3 kB / 0.5228 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3767, allocations: 43.2 kB / 0.5228 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.3768, allocations: 18.12 kB / 0.5228 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3768, allocations: 1.031 kB / 0.5228 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.3768, allocations: 32.28 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.3768, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006148/0.3774, allocations: 158.4 kB / 0.523 GB, free: 480 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3775, allocations: 78.97 kB / 0.5231 GB, free: 384 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3776, allocations: 131 kB / 0.5232 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3777, allocations: 26.73 kB / 0.5233 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.3777, allocations: 96.31 kB / 0.5233 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3777, allocations: 15.47 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3778, allocations: 23.25 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3779, allocations: 327.7 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.378, allocations: 20.3 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.3781, allocations: 36.66 kB / 0.5237 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3782, allocations: 52.05 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3782, allocations: 4.031 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002136/0.3784, allocations: 85.97 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3785, allocations: 6.938 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3785, allocations: 1.969 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3785, allocations: 0 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.3786, allocations: 17.3 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3786, allocations: 0 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.3786, allocations: 7.766 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3787, allocations: 4 kB / 0.5239 GB, free: 15.68 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 (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 0.0001015/0.3788, allocations: 118.9 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3788, allocations: 7.188 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.3791, allocations: 96.58 kB / 0.5241 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3791, allocations: 1.625 kB / 0.5241 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3791, allocations: 0 / 0.5241 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3791, allocations: 2.188 kB / 0.5241 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.3796, allocations: 357.4 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3796, allocations: 3.984 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.3797, allocations: 13.08 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3797, allocations: 0 / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3797, allocations: 5.469 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3797, allocations: 4.547 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3797, allocations: 0 / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.38, allocations: 189.9 kB / 0.5247 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.38, allocations: 79.22 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.38, allocations: 1.469 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.3801, allocations: 9.625 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.3802, allocations: 2.859 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3802, allocations: 1.531 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.3803, allocations: 111.6 kB / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3803, allocations: 4 kB / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.3805, allocations: 20.84 kB / 0.5249 GB, free: 14.79 MB / 398.1 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.0009952/0.3815, allocations: 437.4 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3818, allocations: 56.78 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3818, allocations: 1.219 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.3819, allocations: 25.95 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3822, allocations: 19.56 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.3826, allocations: 169.1 kB / 0.5256 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3829, allocations: 0.6988 MB / 0.5263 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.383, allocations: 14.05 kB / 0.5263 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.383, allocations: 13.59 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.355e-06/0.383, allocations: 0 / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.004182/0.3872, allocations: 1.374 MB / 0.5276 GB, free: 13.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches