Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001483/0.001483, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001707/0.001707, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.2313/0.2313, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [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.002205/0.002205, allocations: 67.89 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3986, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003587/0.4022, allocations: 1.671 MB / 0.5591 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.4034, allocations: 0.5193 MB / 0.5596 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.4035, allocations: 3.938 kB / 0.5596 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.4038, allocations: 63.72 kB / 0.5597 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.4042, allocations: 95.61 kB / 0.5598 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.4046, allocations: 139.4 kB / 0.5599 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.4048, allocations: 87.75 kB / 0.56 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4049, allocations: 16.22 kB / 0.56 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.405, allocations: 39.84 kB / 0.56 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.4051, allocations: 51.81 kB / 0.5601 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.4051, allocations: 4 kB / 0.5601 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.4052, allocations: 51.92 kB / 0.5601 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.4053, allocations: 23.91 kB / 0.5602 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.4054, allocations: 27.81 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.4056, allocations: 113.9 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4056, allocations: 4 kB / 0.5603 GB, free: 4.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4056, allocations: 0 / 0.5603 GB, free: 4.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.4056, allocations: 3.984 kB / 0.5603 GB, free: 4.566 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005738/0.4062, allocations: 343.7 kB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4062, allocations: 8.031 kB / 0.5606 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.4063, allocations: 12.84 kB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.4065, allocations: 146.2 kB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.4065, allocations: 4.375 kB / 0.5608 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4065, allocations: 4.375 kB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4067, allocations: 73.78 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4068, allocations: 0 / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4068, allocations: 0 / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4068, allocations: 0 / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.4069, allocations: 39.91 kB / 0.5609 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.4073, allocations: 244.4 kB / 0.5611 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.4076, allocations: 62.58 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.4077, allocations: 24.97 kB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.4077, allocations: 0 / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4078, allocations: 30.56 kB / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.4078, allocations: 0 / 0.5613 GB, free: 3.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001522/0.4093, allocations: 401.3 kB / 0.5616 GB, free: 3.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4093, allocations: 59.41 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.4096, allocations: 198.2 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4096, allocations: 29.64 kB / 0.5619 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.4097, allocations: 104.1 kB / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.4098, allocations: 47.62 kB / 0.5621 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.4098, allocations: 21.72 kB / 0.5621 GB, free: 2.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.41, allocations: 322.8 kB / 0.5624 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4101, allocations: 43.97 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.4102, allocations: 44.08 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.4105, allocations: 105 kB / 0.5626 GB, free: 2.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4105, allocations: 0 / 0.5626 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003246/0.4108, allocations: 137.5 kB / 0.5627 GB, free: 1.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4108, allocations: 8 kB / 0.5627 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4108, allocations: 7.984 kB / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4109, allocations: 0 / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.411, allocations: 31.92 kB / 0.5628 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.411, allocations: 3.938 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.4111, allocations: 11.98 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.4111, allocations: 4 kB / 0.5628 GB, free: 1.871 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 (11): * Single equations (assignments): 11 * 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.0001282/0.4112, allocations: 125.8 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.4113, allocations: 19.89 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.4117, allocations: 166.1 kB / 0.5631 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4117, allocations: 4 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4117, allocations: 3.938 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4117, allocations: 0 / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006697/0.4124, allocations: 403.7 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4124, allocations: 8.031 kB / 0.5635 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.4125, allocations: 23.98 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.4125, allocations: 3.938 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4125, allocations: 4 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4125, allocations: 0 / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4125, allocations: 0 / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.4129, allocations: 253 kB / 0.5637 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.4129, allocations: 19.84 kB / 0.5638 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.4129, allocations: 4 kB / 0.5638 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.413, allocations: 12.17 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.4131, allocations: 12.08 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4131, allocations: 7.938 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4132, allocations: 156 kB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4132, allocations: 0 / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4135, allocations: 20 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001895/0.4154, allocations: 495.3 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.4157, allocations: 99.88 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4157, allocations: 8 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.4159, allocations: 51.91 kB / 0.5646 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4163, allocations: 23.92 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.417, allocations: 284.1 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.4171, allocations: 104.8 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.221e-05/0.4172, allocations: 16.34 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.4172, allocations: 19.42 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4172, allocations: 0 / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004857/0.4221, allocations: 1.62 MB / 0.5666 GB, free: 14.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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: 5.342350052669644]