Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 108.5 kB / 21.23 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 190.5 kB / 24.51 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 225.6 MB / 253.3 MB, free: 13 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.2758/0.2758, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 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.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.88 kB / 497.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4101, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.004394/0.4145, allocations: 1.634 MB / 0.5504 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.4155, allocations: 440.4 kB / 0.5509 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.4156, allocations: 1.312 kB / 0.5509 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.416, allocations: 89.88 kB / 0.5509 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.4163, allocations: 76.25 kB / 0.551 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.4166, allocations: 95.72 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.4169, allocations: 95.8 kB / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.417, allocations: 16.92 kB / 0.5512 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.4171, allocations: 38.59 kB / 0.5513 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.4172, allocations: 73.42 kB / 0.5513 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.4172, allocations: 4.281 kB / 0.5513 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.4174, allocations: 49.8 kB / 0.5514 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.4175, allocations: 26.73 kB / 0.5514 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.4175, allocations: 38.5 kB / 0.5514 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.4178, allocations: 119.2 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4178, allocations: 1.469 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4178, allocations: 0 / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4178, allocations: 0 / 0.5516 GB, free: 11.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006369/0.4185, allocations: 347.2 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4185, allocations: 16.72 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.4186, allocations: 15.25 kB / 0.5519 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.4188, allocations: 151.9 kB / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4188, allocations: 6.469 kB / 0.5521 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.4188, allocations: 3.844 kB / 0.5521 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.419, allocations: 81.88 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.419, allocations: 0 / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.419, allocations: 1.125 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.419, allocations: 1.188 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4192, allocations: 46.44 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.4197, allocations: 294 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.4198, allocations: 67.61 kB / 0.5525 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.4199, allocations: 23.75 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.4199, allocations: 5.078 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4199, allocations: 35.91 kB / 0.5526 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4199, allocations: 0 / 0.5526 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001154/0.4211, allocations: 298 kB / 0.5529 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.4212, allocations: 61.66 kB / 0.5529 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.4214, allocations: 229.1 kB / 0.5532 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.4214, allocations: 29.7 kB / 0.5532 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.4215, allocations: 119.5 kB / 0.5533 GB, free: 9.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.4216, allocations: 48.72 kB / 0.5533 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.4216, allocations: 25.72 kB / 0.5534 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4218, allocations: 327.9 kB / 0.5537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4219, allocations: 43.56 kB / 0.5537 GB, free: 9.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.422, allocations: 32.48 kB / 0.5538 GB, free: 9.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4222, allocations: 86.23 kB / 0.5538 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4222, allocations: 0 / 0.5538 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003097/0.4225, allocations: 142.4 kB / 0.554 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4225, allocations: 4.625 kB / 0.554 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4225, allocations: 0.9688 kB / 0.554 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4226, allocations: 8.938 kB / 0.554 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4227, allocations: 32.47 kB / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4227, allocations: 1.125 kB / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4228, allocations: 3.75 kB / 0.554 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4228, allocations: 6.219 kB / 0.554 GB, free: 8.996 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 (13): * Single equations (assignments): 13 * 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.0001356/0.4229, allocations: 135.3 kB / 0.5542 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.423, allocations: 14.69 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.4234, allocations: 161.6 kB / 0.5543 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.4234, allocations: 6.25 kB / 0.5543 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4234, allocations: 0 / 0.5543 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4234, allocations: 1.156 kB / 0.5543 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007925/0.4242, allocations: 447.2 kB / 0.5548 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4242, allocations: 4 kB / 0.5548 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.856e-05/0.4243, allocations: 29.2 kB / 0.5548 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4243, allocations: 1.219 kB / 0.5548 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4243, allocations: 2.219 kB / 0.5548 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4243, allocations: 1.156 kB / 0.5548 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4243, allocations: 3.938 kB / 0.5548 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.4247, allocations: 250 kB / 0.555 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.4247, allocations: 13.34 kB / 0.5551 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4247, allocations: 5 kB / 0.5551 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.4248, allocations: 7.547 kB / 0.5551 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.4249, allocations: 11.8 kB / 0.5551 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.4249, allocations: 3.812 kB / 0.5551 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.425, allocations: 170.2 kB / 0.5552 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.425, allocations: 0 / 0.5552 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.4253, allocations: 25.77 kB / 0.5553 GB, free: 7.992 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 (13): * Single equations (assignments): 13 * 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.001691/0.427, allocations: 465.5 kB / 0.5557 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4273, allocations: 94.64 kB / 0.5558 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4273, allocations: 0 / 0.5558 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.4274, allocations: 53.97 kB / 0.5559 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.4278, allocations: 19.42 kB / 0.5559 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.4284, allocations: 312.5 kB / 0.5562 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.4288, allocations: 0.7164 MB / 0.5569 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.4289, allocations: 14.8 kB / 0.5569 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.4289, allocations: 19.27 kB / 0.5569 GB, free: 6.738 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4289, allocations: 0 / 0.5569 GB, free: 6.738 MB / 398.1 MB Notification: Performance of Templates: time 0.005338/0.4343, allocations: 1.59 MB / 0.5585 GB, free: 5.434 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.556415799073875]