Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 111.3 kB / 18.45 MB, free: 4.621 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.001177/0.001177, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.228/1.228, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3076, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002348/0.31, allocations: 1.559 MB / 0.5211 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006137/0.3106, allocations: 412.8 kB / 0.5215 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.3107, allocations: 1.094 kB / 0.5215 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.3108, allocations: 19.47 kB / 0.5215 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.311, allocations: 43.67 kB / 0.5216 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3113, allocations: 111.3 kB / 0.5217 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3114, allocations: 59.59 kB / 0.5217 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.3115, allocations: 12.7 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.3116, allocations: 17.23 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.3116, allocations: 25.05 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3116, allocations: 2.375 kB / 0.5218 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.935e-05/0.3117, allocations: 29.7 kB / 0.5218 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.3118, allocations: 14.89 kB / 0.5218 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.3118, allocations: 16.3 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3119, allocations: 81.33 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.312, allocations: 0.7969 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.312, allocations: 0 / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.312, allocations: 1.125 kB / 0.5219 GB, free: 2.078 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.0003175/0.3123, allocations: 372.8 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3123, allocations: 9.938 kB / 0.5223 GB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.3124, allocations: 7.125 kB / 0.5223 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3125, allocations: 192 kB / 0.5225 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.3125, allocations: 1.5 kB / 0.5225 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3125, allocations: 10.56 kB / 0.5225 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3126, allocations: 53.84 kB / 0.5225 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3127, allocations: 3.938 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3127, allocations: 1.688 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3127, allocations: 1.438 kB / 0.5225 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.3128, allocations: 22.62 kB / 0.5226 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.3131, allocations: 279.8 kB / 0.5228 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3132, allocations: 49.62 kB / 0.5229 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.3133, allocations: 18.39 kB / 0.5229 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3133, allocations: 1.625 kB / 0.5229 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.3133, allocations: 36.31 kB / 0.5229 GB, free: 1.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3133, allocations: 0 / 0.5229 GB, free: 1.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004923/0.3138, allocations: 146.3 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.3139, allocations: 52.53 kB / 0.5231 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.314, allocations: 140.2 kB / 0.5232 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.314, allocations: 25.7 kB / 0.5233 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.314, allocations: 101.5 kB / 0.5234 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.314, allocations: 19.31 kB / 0.5234 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3141, allocations: 19.16 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.889e-05/0.3141, allocations: 322.9 kB / 0.5237 GB, free: 336 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.3142, allocations: 20.84 kB / 0.5237 GB, free: 332 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.3143, allocations: 20.88 kB / 0.5238 GB, free: 328 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3144, allocations: 52.06 kB / 0.5238 GB, free: 308 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3144, allocations: 0.6562 kB / 0.5238 GB, free: 308 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000169/0.3146, allocations: 92.55 kB / 0.5239 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.3146, allocations: 5.562 kB / 0.5239 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3146, allocations: 0.7031 kB / 0.5239 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3146, allocations: 5.094 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.3147, allocations: 11.66 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3147, allocations: 1.094 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.3148, allocations: 4.516 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3148, allocations: 2.031 kB / 0.5239 GB, free: 248 kB / 382.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 5.103e-05/0.3148, allocations: 123.6 kB / 0.524 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3149, allocations: 7.406 kB / 0.524 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3151, allocations: 102.6 kB / 0.5241 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3151, allocations: 1.125 kB / 0.5241 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3151, allocations: 0.6562 kB / 0.5241 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3151, allocations: 5.109 kB / 0.5242 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.3155, allocations: 352 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3155, allocations: 0 / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.3156, allocations: 16.84 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3156, allocations: 1.312 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3156, allocations: 0 / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3156, allocations: 5.75 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3156, allocations: 0 / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.3159, allocations: 185.5 kB / 0.5247 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.3159, allocations: 78.83 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3159, allocations: 2.109 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.316, allocations: 9.141 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.316, allocations: 3.844 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.316, allocations: 1.031 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.099e-05/0.3161, allocations: 109.4 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3161, allocations: 3.938 kB / 0.5249 GB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.3164, allocations: 19.97 kB / 0.5249 GB, free: 15.36 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.0008208/0.3172, allocations: 402 kB / 0.5253 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3174, allocations: 53.56 kB / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3174, allocations: 0 / 0.5253 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.3175, allocations: 24.91 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.3178, allocations: 21.89 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.3182, allocations: 205 kB / 0.5256 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3184, allocations: 0.698 MB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.3185, allocations: 13.22 kB / 0.5263 GB, free: 14.27 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3185, allocations: 3.938 kB / 0.5263 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.002948/0.3214, allocations: 1.411 MB / 0.5277 GB, free: 13.96 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches