Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001943/0.001943, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002079/0.002079, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.644/1.644, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3501/0.3501, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.075e-05, allocations: 2.312 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004467/0.004497, allocations: 1.693 MB / 377 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.006193, allocations: 0.5608 MB / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.006272, allocations: 3.938 kB / 377.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.006615, allocations: 67.66 kB / 377.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.007054, allocations: 95.53 kB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.007719, allocations: 175.5 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.007981, allocations: 91.73 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.008101, allocations: 12.23 kB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.008233, allocations: 51.88 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.008389, allocations: 47.88 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.008415, allocations: 8 kB / 378.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.008586, allocations: 51.86 kB / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.008676, allocations: 23.92 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.008731, allocations: 23.91 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.009038, allocations: 115.6 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.009044, allocations: 0 / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009045, allocations: 0 / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.009051, allocations: 0 / 378.3 MB, free: 1.922 MB / 346.7 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.0008265/0.009878, allocations: 451.6 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.009925, allocations: 12.03 kB / 378.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.009998, allocations: 16.83 kB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.0103, allocations: 152.4 kB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.01031, allocations: 384 / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.01034, allocations: 8.375 kB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.01056, allocations: 58.23 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01058, allocations: 192 / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.01059, allocations: 4.125 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.0106, allocations: 3.938 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.01077, allocations: 35.91 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.01174, allocations: 319.7 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.01208, allocations: 67 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.01218, allocations: 23.81 kB / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.01221, allocations: 0 / 379.4 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.01225, allocations: 33.39 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.01225, allocations: 0 / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001592/0.01384, allocations: 297.5 kB / 379.7 MB, free: 344 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.0139, allocations: 51.41 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.01425, allocations: 242.6 kB / 380 MB, free: 20 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.0143, allocations: 29.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01445, allocations: 154.8 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.01452, allocations: 39.69 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.01462, allocations: 35.36 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003588/0.01498, allocations: 0.5118 MB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.01513, allocations: 27.98 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.01528, allocations: 31.92 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.01558, allocations: 71.78 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.01559, allocations: 11.98 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004283/0.01602, allocations: 113.5 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.01604, allocations: 8 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.01605, allocations: 7.984 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01606, allocations: 0 / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.01622, allocations: 23.98 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.01623, allocations: 7.938 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.504e-05/0.01631, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.01632, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 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.0001735/0.01649, allocations: 164.5 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.01657, allocations: 19.91 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.0171, allocations: 147 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.0171, allocations: 0 / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.0171, allocations: 0 / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.01711, allocations: 3.984 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.01815, allocations: 464.5 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01815, allocations: 0 / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.0183, allocations: 23.98 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.0183, allocations: 4.062 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01832, allocations: 4 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.01832, allocations: 7.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01832, allocations: 3.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.01889, allocations: 287.7 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.01892, allocations: 15.94 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.01895, allocations: 0 / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.01909, allocations: 7.938 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.01915, allocations: 11.98 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.01917, allocations: 8 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.01937, allocations: 171.9 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01937, allocations: 0 / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000483/0.01986, allocations: 27.92 kB / 382.4 MB, free: 13.47 MB / 362.7 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.004499/0.02436, allocations: 0.4991 MB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.02484, allocations: 91.52 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.02485, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.02505, allocations: 59.59 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.02557, allocations: 23.98 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.02641, allocations: 290 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.02657, allocations: 100.8 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.02673, allocations: 28.45 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.0268, allocations: 28.48 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0268, allocations: 0 / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.007542/0.03435, allocations: 1.649 MB / 385.2 MB, free: 10.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.699032436008565]