Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001151/0.001151, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.233/1.233, allocations: 222.9 MB / 243.1 MB, free: 15.19 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.1792/0.1792, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2785, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002536/0.281, allocations: 1.588 MB / 0.5211 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.2817, allocations: 402.5 kB / 0.5215 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.2818, allocations: 1.406 kB / 0.5215 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.2821, allocations: 91.2 kB / 0.5216 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.2823, allocations: 75.64 kB / 0.5217 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.2826, allocations: 85.28 kB / 0.5218 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.2828, allocations: 79.52 kB / 0.5218 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2829, allocations: 14.14 kB / 0.5219 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.283, allocations: 42.78 kB / 0.5219 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2831, allocations: 53.48 kB / 0.5219 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2831, allocations: 3.375 kB / 0.5219 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2833, allocations: 43.53 kB / 0.522 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.2833, allocations: 23.7 kB / 0.522 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2834, allocations: 29.98 kB / 0.522 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2836, allocations: 103.5 kB / 0.5221 GB, free: 2.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2836, allocations: 4 kB / 0.5221 GB, free: 2.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2836, allocations: 0 / 0.5221 GB, free: 2.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2836, allocations: 0 / 0.5221 GB, free: 2.262 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.0004269/0.284, allocations: 408 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2841, allocations: 9.688 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.2841, allocations: 17.53 kB / 0.5226 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.2843, allocations: 196 kB / 0.5227 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2843, allocations: 5.5 kB / 0.5228 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.2843, allocations: 3.094 kB / 0.5228 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2845, allocations: 55.91 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2845, allocations: 9.781 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2845, allocations: 0 / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2845, allocations: 5.438 kB / 0.5228 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.2846, allocations: 24.7 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.285, allocations: 294.8 kB / 0.5231 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2851, allocations: 47.66 kB / 0.5232 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.2852, allocations: 14.2 kB / 0.5232 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.2852, allocations: 9.578 kB / 0.5232 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2852, allocations: 36.47 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2852, allocations: 0 / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008614/0.2861, allocations: 219.7 kB / 0.5234 GB, free: 1.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2861, allocations: 56.47 kB / 0.5235 GB, free: 1.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.2863, allocations: 225 kB / 0.5237 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.2864, allocations: 25.7 kB / 0.5237 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.2864, allocations: 113.3 kB / 0.5238 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2864, allocations: 26.53 kB / 0.5239 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2865, allocations: 21.02 kB / 0.5239 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.2866, allocations: 321.7 kB / 0.5242 GB, free: 412 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.2866, allocations: 31.22 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.2867, allocations: 22.64 kB / 0.5242 GB, free: 396 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2869, allocations: 63.81 kB / 0.5243 GB, free: 368 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2869, allocations: 0 / 0.5243 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002039/0.2871, allocations: 100.6 kB / 0.5244 GB, free: 312 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2871, allocations: 6.047 kB / 0.5244 GB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2871, allocations: 4 kB / 0.5244 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2871, allocations: 4.75 kB / 0.5244 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2873, allocations: 21.31 kB / 0.5244 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2873, allocations: 5 kB / 0.5244 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.2873, allocations: 4.141 kB / 0.5244 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.2873, allocations: 6.75 kB / 0.5244 GB, free: 292 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.0001041/0.2874, allocations: 129 kB / 0.5246 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.2875, allocations: 9.125 kB / 0.5246 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.2878, allocations: 128 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2878, allocations: 2 kB / 0.5247 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2878, allocations: 3.938 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2878, allocations: 0.6094 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005974/0.2884, allocations: 401.7 kB / 0.5251 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2884, allocations: 2.328 kB / 0.5251 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.2885, allocations: 27.52 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2885, allocations: 1.938 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2885, allocations: 1.219 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2885, allocations: 1.672 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/0.2886, allocations: 5.219 kB / 0.5251 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2888, allocations: 205.9 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.2889, allocations: 93.61 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2889, allocations: 2.016 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.289, allocations: 5.781 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.2891, allocations: 13.28 kB / 0.5254 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.2891, allocations: 2.875 kB / 0.5254 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.2892, allocations: 169.2 kB / 0.5256 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2893, allocations: 0 / 0.5256 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.2895, allocations: 24.12 kB / 0.5256 GB, free: 15.32 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.001096/0.2906, allocations: 459.5 kB / 0.5261 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.2909, allocations: 76.45 kB / 0.5261 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2909, allocations: 0 / 0.5261 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.291, allocations: 31.25 kB / 0.5262 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2914, allocations: 21.67 kB / 0.5262 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.2919, allocations: 282.3 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2922, allocations: 0.7173 MB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.2922, allocations: 13.59 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2922, allocations: 0 / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of Templates: time 0.003391/0.2956, allocations: 1.745 MB / 0.5289 GB, free: 13.52 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches