Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.001292/0.001292, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.264/1.264, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1852/0.1852, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3082, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002489/0.3108, allocations: 1.556 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.312, allocations: 1.023 MB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.312, allocations: 1.219 kB / 0.5214 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3122, allocations: 20.55 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3124, allocations: 45.39 kB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3127, allocations: 79.86 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3128, allocations: 64.16 kB / 0.5216 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.3129, allocations: 11.52 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.3129, allocations: 22.94 kB / 0.5217 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3131, allocations: 30.14 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3131, allocations: 2.344 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.3132, allocations: 45.69 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.3132, allocations: 16.56 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.3133, allocations: 18.66 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.3134, allocations: 90.05 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3135, allocations: 0 / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3135, allocations: 4 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3135, allocations: 0.9688 kB / 0.5219 GB, free: 1.594 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.0003458/0.3138, allocations: 374.4 kB / 0.5222 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3139, allocations: 12.97 kB / 0.5222 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.3139, allocations: 12.36 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.314, allocations: 193.6 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.3141, allocations: 1.719 kB / 0.5224 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3141, allocations: 10.02 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3142, allocations: 69.77 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3142, allocations: 5.141 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3142, allocations: 0 / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3143, allocations: 1.156 kB / 0.5225 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/0.3143, allocations: 21.88 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.3146, allocations: 272.7 kB / 0.5228 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3148, allocations: 51.47 kB / 0.5229 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.3148, allocations: 14.48 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3149, allocations: 1.219 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.3149, allocations: 32.84 kB / 0.5229 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3149, allocations: 0 / 0.5229 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004761/0.3154, allocations: 138.3 kB / 0.523 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3154, allocations: 78.81 kB / 0.5231 GB, free: 388 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3155, allocations: 139.2 kB / 0.5232 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.3155, allocations: 26.86 kB / 0.5233 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3156, allocations: 88.09 kB / 0.5234 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3156, allocations: 20.06 kB / 0.5234 GB, free: 132 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.3156, allocations: 18.95 kB / 0.5234 GB, free: 112 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3158, allocations: 323.6 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.3158, allocations: 17.89 kB / 0.5237 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3159, allocations: 31.61 kB / 0.5237 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.316, allocations: 50.05 kB / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.316, allocations: 0 / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.3162, allocations: 81.2 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3162, allocations: 5.672 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3162, allocations: 0 / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3163, allocations: 1.844 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.3163, allocations: 11.72 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3163, allocations: 5.922 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.3164, allocations: 7.672 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3164, allocations: 2.078 kB / 0.5239 GB, free: 15.69 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.0001118/0.3165, allocations: 127 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.3166, allocations: 7.797 kB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.3168, allocations: 86.92 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3168, allocations: 2.688 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3168, allocations: 320 / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3168, allocations: 0.75 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.3172, allocations: 353.7 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3173, allocations: 7.938 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.3173, allocations: 13.33 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3173, allocations: 0 / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3173, allocations: 1.891 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3173, allocations: 3.938 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3174, allocations: 1.188 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.3176, allocations: 176.9 kB / 0.5247 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.3176, allocations: 82.86 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3176, allocations: 1.953 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.3177, allocations: 9.844 kB / 0.5247 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.3178, allocations: 7.25 kB / 0.5247 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.3178, allocations: 6.984 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.3179, allocations: 102.3 kB / 0.5249 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3179, allocations: 0 / 0.5249 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3181, allocations: 20.22 kB / 0.5249 GB, free: 14.8 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.0009299/0.3191, allocations: 449 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3193, allocations: 43.83 kB / 0.5253 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3193, allocations: 4 kB / 0.5253 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.3194, allocations: 28.48 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.0003149/0.3197, allocations: 23.86 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.0003216/0.32, allocations: 153.7 kB / 0.5255 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3203, allocations: 0.6904 MB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.922e-05/0.3203, allocations: 16.27 kB / 0.5262 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3204, allocations: 14.34 kB / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3204, allocations: 0 / 0.5262 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.00363/0.324, allocations: 1.359 MB / 0.5276 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches