Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00183/0.00183, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2729/0.2729, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004018/0.004018, allocations: 79.88 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4047, allocations: 66.09 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003146/0.4079, allocations: 1.611 MB / 0.5628 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4099, allocations: 1.243 MB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.4099, allocations: 4 kB / 0.564 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.4101, allocations: 31.78 kB / 0.564 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.4105, allocations: 87.61 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.4108, allocations: 107.7 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.4109, allocations: 79.77 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.411, allocations: 22.64 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.4111, allocations: 27.92 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4112, allocations: 43.7 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4112, allocations: 4 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.4114, allocations: 87.95 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.4115, allocations: 15.92 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.4115, allocations: 27.86 kB / 0.5645 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.4118, allocations: 155.1 kB / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4118, allocations: 0 / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4118, allocations: 0 / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4118, allocations: 0 / 0.5646 GB, free: 448 kB / 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.0005687/0.4124, allocations: 345.6 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.4124, allocations: 8.031 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.4124, allocations: 12.83 kB / 0.565 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.4127, allocations: 146.3 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4127, allocations: 4.359 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.4127, allocations: 4.375 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.413, allocations: 101.7 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.413, allocations: 4.141 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.413, allocations: 7.938 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.413, allocations: 0 / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.4131, allocations: 43.91 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.4135, allocations: 244.5 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4137, allocations: 62.52 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.4137, allocations: 20.98 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.4137, allocations: 3.984 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.4138, allocations: 30.56 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4138, allocations: 0 / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007818/0.4146, allocations: 205.3 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.4146, allocations: 77.11 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4148, allocations: 151.5 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4148, allocations: 29.7 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.4149, allocations: 96.12 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.4149, allocations: 27.75 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.415, allocations: 25.7 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4152, allocations: 322.8 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.4153, allocations: 27.98 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.4154, allocations: 75.38 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4155, allocations: 72.77 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4155, allocations: 0 / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002329/0.4158, allocations: 109.6 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4158, allocations: 4 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4158, allocations: 0 / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.4158, allocations: 8.406 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.416, allocations: 15.98 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.416, allocations: 0 / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.416, allocations: 8 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.416, allocations: 7.938 kB / 0.5668 GB, free: 13.98 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 (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.0001126/0.4161, allocations: 129.7 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.4162, allocations: 15.84 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.4165, allocations: 126.7 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4165, allocations: 4 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4165, allocations: 0 / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4165, allocations: 3.984 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.417, allocations: 338.1 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.417, allocations: 0 / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.4171, allocations: 19.98 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4171, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4171, allocations: 4 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4171, allocations: 0 / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4171, allocations: 7.938 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.4174, allocations: 215.4 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4174, allocations: 3.953 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.4174, allocations: 4 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.4175, allocations: 3.984 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.4175, allocations: 11.94 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4175, allocations: 4 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4176, allocations: 117.4 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4176, allocations: 0 / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.4179, allocations: 47.86 kB / 0.5679 GB, free: 12.87 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 (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.001997/0.4199, allocations: 0.5177 MB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.4202, allocations: 71.88 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4202, allocations: 0 / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.4203, allocations: 35.98 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4207, allocations: 23.34 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.4212, allocations: 206 kB / 0.5687 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.338e-05/0.4213, allocations: 87.66 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.204e-05/0.4213, allocations: 28.89 kB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.4214, allocations: 15.44 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4214, allocations: 0 / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of Templates: time 0.005662/0.427, allocations: 1.929 MB / 0.5707 GB, free: 10.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.3550241608172655]