Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002513/0.002513, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.91 kB / 0.4943 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3791, allocations: 65.47 MB / 0.5582 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003352/0.3824, allocations: 1.644 MB / 0.5598 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3836, allocations: 0.5465 MB / 0.5603 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.3837, allocations: 0 / 0.5603 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.3843, allocations: 455.1 kB / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.3848, allocations: 299.3 kB / 0.5611 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.3852, allocations: 127.2 kB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.3855, allocations: 171.6 kB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3856, allocations: 15.98 kB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3857, allocations: 115.7 kB / 0.5615 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.386, allocations: 247.5 kB / 0.5617 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.386, allocations: 4 kB / 0.5617 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3861, allocations: 43.91 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3863, allocations: 83.69 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.3863, allocations: 67.25 kB / 0.5619 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.3867, allocations: 269 kB / 0.5622 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3867, allocations: 0 / 0.5622 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3867, allocations: 3.938 kB / 0.5622 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3867, allocations: 0 / 0.5622 GB, free: 3.402 MB / 398.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.0008425/0.3875, allocations: 0.5893 MB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3876, allocations: 8.031 kB / 0.5627 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.26e-05/0.3877, allocations: 48.61 kB / 0.5628 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.388, allocations: 242.8 kB / 0.563 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.388, allocations: 384 / 0.563 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.388, allocations: 8.375 kB / 0.563 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3882, allocations: 57.8 kB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3882, allocations: 0 / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3882, allocations: 0 / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3882, allocations: 0 / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3884, allocations: 43.91 kB / 0.5631 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.3888, allocations: 332.3 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.389, allocations: 42.55 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.389, allocations: 24.94 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3891, allocations: 0 / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3891, allocations: 34.56 kB / 0.5635 GB, free: 1.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 3.116e-06/0.3891, allocations: 4 kB / 0.5635 GB, free: 1.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008541/0.39, allocations: 296.5 kB / 0.5638 GB, free: 1.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.39, allocations: 55.34 kB / 0.5639 GB, free: 1.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.391, allocations: 0.8613 MB / 0.5647 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.391, allocations: 33.64 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3912, allocations: 212.1 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.3912, allocations: 27.73 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.3913, allocations: 21.72 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3915, allocations: 366.7 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3916, allocations: 31.97 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3917, allocations: 28.05 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.3919, allocations: 81.03 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3919, allocations: 3.938 kB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000306/0.3923, allocations: 145.3 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3923, allocations: 14.75 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3923, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3923, allocations: 0 / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3924, allocations: 23.98 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3924, allocations: 4 kB / 0.5657 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.308e-05/0.3925, allocations: 7.984 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3925, allocations: 4 kB / 0.5657 GB, free: 15.62 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0002152/0.3927, allocations: 217.7 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3928, allocations: 43.72 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.3932, allocations: 173.3 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3932, allocations: 4.281 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3932, allocations: 0 / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3932, allocations: 3.984 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.3939, allocations: 438 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3939, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.394, allocations: 19.98 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.394, allocations: 3.938 kB / 0.5665 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.394, allocations: 8 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.394, allocations: 0 / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.394, allocations: 3.938 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.3943, allocations: 239.2 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3944, allocations: 35.7 kB / 0.5668 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.3944, allocations: 8 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.3946, allocations: 7.984 kB / 0.5668 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.3946, allocations: 7.938 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3946, allocations: 4 kB / 0.5668 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006919/0.3953, allocations: 0.655 MB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3953, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3956, allocations: 20 kB / 0.5675 GB, free: 13.68 MB / 414.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 (7): * Single equations (assignments): 7 * 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.001681/0.3973, allocations: 450 kB / 0.5679 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3976, allocations: 75.92 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3976, allocations: 0 / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3977, allocations: 43.91 kB / 0.568 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3981, allocations: 29.19 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3995, allocations: 0.8551 MB / 0.5689 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3997, allocations: 220.1 kB / 0.5691 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.3998, allocations: 11.44 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3998, allocations: 4 kB / 0.5691 GB, free: 12.13 MB / 414.1 MB Notification: Performance of Templates: time 0.007861/0.4076, allocations: 3.982 MB / 0.573 GB, free: 8.137 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.153742212802172]