Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 109.3 kB / 18.45 MB, free: 4.625 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.001202/0.001202, allocations: 185.1 kB / 19.37 MB, free: 3.707 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.205/1.205, allocations: 222.9 MB / 243.1 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.1977/0.1977, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2905, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002541/0.2931, allocations: 1.588 MB / 0.5211 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006096/0.2937, allocations: 405.7 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.2938, allocations: 1.031 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.2941, allocations: 108.7 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.2943, allocations: 78.11 kB / 0.5217 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.2945, allocations: 86.17 kB / 0.5218 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.2947, allocations: 75.33 kB / 0.5219 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.2948, allocations: 17.53 kB / 0.5219 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.2948, allocations: 47.56 kB / 0.5219 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2949, allocations: 63.88 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.295, allocations: 3.344 kB / 0.522 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.2951, allocations: 43.8 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.2951, allocations: 24.7 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2952, allocations: 31.7 kB / 0.5221 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.2953, allocations: 112.2 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2953, allocations: 0 / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2954, allocations: 2 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2954, allocations: 4 kB / 0.5222 GB, free: 2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004019/0.2958, allocations: 417.1 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2958, allocations: 9.375 kB / 0.5226 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.2958, allocations: 11.22 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.296, allocations: 203.1 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-06/0.296, allocations: 5.594 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.296, allocations: 3 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2962, allocations: 64.2 kB / 0.5229 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2962, allocations: 5.344 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2962, allocations: 4 kB / 0.5229 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.2962, allocations: 5.281 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.2963, allocations: 24.94 kB / 0.5229 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.2966, allocations: 297.1 kB / 0.5232 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.2967, allocations: 51.62 kB / 0.5232 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.2968, allocations: 25.89 kB / 0.5233 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2968, allocations: 1.062 kB / 0.5233 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.2968, allocations: 32.48 kB / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2968, allocations: 0 / 0.5233 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007918/0.2976, allocations: 220.4 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.2976, allocations: 52.47 kB / 0.5236 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.2978, allocations: 240 kB / 0.5238 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.2979, allocations: 29.7 kB / 0.5238 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.2979, allocations: 110.6 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.2979, allocations: 33.14 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.298, allocations: 21.12 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.298, allocations: 327.2 kB / 0.5243 GB, free: 120 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.2981, allocations: 31.08 kB / 0.5243 GB, free: 108 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.2982, allocations: 25.86 kB / 0.5243 GB, free: 100 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2983, allocations: 59.81 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2983, allocations: 0 / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000181/0.2985, allocations: 106.8 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2985, allocations: 8.875 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2985, allocations: 0.5625 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2985, allocations: 0 / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.2986, allocations: 17.19 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2987, allocations: 5.25 kB / 0.5245 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.2987, allocations: 7.516 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2987, allocations: 3.641 kB / 0.5245 GB, free: 8 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 (8): * Single equations (assignments): 8 * 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.0001157/0.2988, allocations: 134.4 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.2989, allocations: 13.73 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.2991, allocations: 116.1 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2991, allocations: 2.812 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2991, allocations: 3.938 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2992, allocations: 0 / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.2996, allocations: 410.5 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2996, allocations: 3.938 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.2997, allocations: 23.95 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2997, allocations: 2.469 kB / 0.5252 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.2997, allocations: 4 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2997, allocations: 3.734 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2997, allocations: 0 / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.3, allocations: 207.5 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.3, allocations: 96.72 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3, allocations: 0 / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.3001, allocations: 4.875 kB / 0.5255 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3002, allocations: 15.25 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3002, allocations: 2.531 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3003, allocations: 183.4 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3003, allocations: 0 / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.3006, allocations: 23.27 kB / 0.5257 GB, free: 15.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009675/0.3016, allocations: 453.1 kB / 0.5262 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.3018, allocations: 76.59 kB / 0.5262 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3018, allocations: 0 / 0.5262 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.3019, allocations: 31.16 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3022, allocations: 21.52 kB / 0.5263 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.3027, allocations: 304.4 kB / 0.5266 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.303, allocations: 0.717 MB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.303, allocations: 14.03 kB / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.303, allocations: 0 / 0.5273 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Templates: time 0.003226/0.3062, allocations: 1.784 MB / 0.529 GB, free: 13.22 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches