Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001301/0.001301, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.00146/0.00146, allocations: 208.4 kB / 23.73 MB, free: 4.375 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2569/0.2569, allocations: 46.95 MB / 360.9 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.89 kB / 0.4966 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.389, allocations: 66.03 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003456/0.3924, allocations: 1.593 MB / 0.5626 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3936, allocations: 0.527 MB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.3937, allocations: 0 / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.3939, allocations: 27.8 kB / 0.5632 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.3942, allocations: 79.67 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.3946, allocations: 119.4 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3947, allocations: 63.83 kB / 0.5634 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3948, allocations: 8 kB / 0.5634 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.3949, allocations: 31.84 kB / 0.5635 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.395, allocations: 23.86 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.395, allocations: 0 / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.3951, allocations: 35.98 kB / 0.5635 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3951, allocations: 15.94 kB / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3952, allocations: 23.78 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3954, allocations: 82 kB / 0.5636 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3954, allocations: 4 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3954, allocations: 4 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3954, allocations: 0 / 0.5637 GB, free: 1.508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005425/0.3959, allocations: 309.9 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.396, allocations: 12.03 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.396, allocations: 8.891 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3962, allocations: 134.4 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3962, allocations: 4.375 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3963, allocations: 8.297 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3964, allocations: 53.75 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3964, allocations: 4 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3964, allocations: 4 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3964, allocations: 0 / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.3965, allocations: 27.97 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.3969, allocations: 224.5 kB / 0.5644 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3972, allocations: 46.5 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.3972, allocations: 16.94 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3973, allocations: 4 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3973, allocations: 38.55 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3973, allocations: 0 / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006118/0.3979, allocations: 153.3 kB / 0.5647 GB, free: 372 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.398, allocations: 55.41 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3981, allocations: 160.6 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3982, allocations: 25.7 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3982, allocations: 100.1 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3982, allocations: 19.91 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.3983, allocations: 21.72 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3985, allocations: 326.7 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3985, allocations: 19.98 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.3986, allocations: 23.97 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3988, allocations: 52.77 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3988, allocations: 192 / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000209/0.399, allocations: 85.62 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.399, allocations: 15.98 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.399, allocations: 0 / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.399, allocations: 0 / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.3991, allocations: 8 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3991, allocations: 3.984 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.3991, allocations: 7.984 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3991, allocations: 11.94 kB / 0.5656 GB, free: 15.39 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 (5): * Single equations (assignments): 5 * 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.0001019/0.3992, allocations: 117.8 kB / 0.5657 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.3993, allocations: 7.953 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.3995, allocations: 106 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3995, allocations: 0 / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3996, allocations: 0 / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3996, allocations: 0 / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.4001, allocations: 310.1 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4001, allocations: 0 / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.4001, allocations: 11.98 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4001, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4001, allocations: 15.94 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4001, allocations: 0 / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4001, allocations: 3.938 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4004, allocations: 179.7 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.4004, allocations: 7.953 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4004, allocations: 4 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.4005, allocations: 7.984 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.4005, allocations: 11.88 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4005, allocations: 0 / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.4007, allocations: 133.1 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 3.938 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.4009, allocations: 11.95 kB / 0.5664 GB, free: 14.4 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 (5): * Single equations (assignments): 5 * 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.001604/0.4025, allocations: 427.6 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002239/0.4027, allocations: 47.95 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4027, allocations: 0 / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.833e-05/0.4028, allocations: 31.92 kB / 0.5669 GB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.4032, allocations: 25.89 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.4037, allocations: 198.3 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.675e-05/0.4037, allocations: 83.08 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.741e-05/0.4038, allocations: 19.77 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.4038, allocations: 11.44 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4038, allocations: 4 kB / 0.5673 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004313/0.4082, allocations: 1.21 MB / 0.5684 GB, free: 12.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.298777042888105]