Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001601/0.001601, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001855/0.001855, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 8 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.2498/0.2498, allocations: 46.93 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 0.4974 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4198, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003451/0.4233, allocations: 1.643 MB / 0.5635 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.4255, allocations: 1.275 MB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.4255, allocations: 0 / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.4258, allocations: 27.78 kB / 0.5648 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.4261, allocations: 87.62 kB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4264, allocations: 111.7 kB / 0.565 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.4266, allocations: 83.77 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.4267, allocations: 14.66 kB / 0.565 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.4268, allocations: 43.78 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.427, allocations: 35.86 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.427, allocations: 4 kB / 0.5651 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.4272, allocations: 99.92 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.4273, allocations: 15.92 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.4273, allocations: 35.73 kB / 0.5653 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.4276, allocations: 155.2 kB / 0.5654 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4276, allocations: 0 / 0.5654 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4276, allocations: 0 / 0.5654 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4276, allocations: 0 / 0.5654 GB, free: 0.7812 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.0005787/0.4282, allocations: 341.6 kB / 0.5657 GB, free: 428 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4283, allocations: 8.031 kB / 0.5658 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.4283, allocations: 12.89 kB / 0.5658 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.4286, allocations: 138.3 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4286, allocations: 4.375 kB / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4286, allocations: 384 / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.4288, allocations: 87.5 kB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4288, allocations: 3.953 kB / 0.566 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4288, allocations: 7.938 kB / 0.566 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4288, allocations: 7.922 kB / 0.566 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4289, allocations: 35.97 kB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.4295, allocations: 279.9 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.4296, allocations: 58.58 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.4297, allocations: 24.92 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.4297, allocations: 7.984 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4297, allocations: 30.56 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4297, allocations: 0 / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006665/0.4304, allocations: 197.3 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.4305, allocations: 81.11 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.4306, allocations: 156.2 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4307, allocations: 29.7 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.4307, allocations: 96.12 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.4308, allocations: 23.75 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.4308, allocations: 29.7 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.431, allocations: 322.8 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.4311, allocations: 23.98 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4312, allocations: 45.77 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4313, allocations: 80.89 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4313, allocations: 0 / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002289/0.4316, allocations: 105.6 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4316, allocations: 7.984 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4316, allocations: 0 / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4316, allocations: 8.031 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4317, allocations: 15.98 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4317, allocations: 3.938 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.4318, allocations: 4 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.4318, allocations: 7.938 kB / 0.5676 GB, free: 14.34 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.0001015/0.4319, allocations: 121.8 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.4319, allocations: 11.91 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.4322, allocations: 122.4 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4322, allocations: 4 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4322, allocations: 4.312 kB / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4322, allocations: 0 / 0.5679 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.4328, allocations: 377.5 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4328, allocations: 4 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.4328, allocations: 19.98 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4329, allocations: 7.938 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4329, allocations: 4 kB / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.4329, allocations: 240 / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4329, allocations: 0 / 0.5683 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4332, allocations: 215.4 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.4332, allocations: 7.891 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.4332, allocations: 4 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.4333, allocations: 11.98 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.4333, allocations: 7.984 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4333, allocations: 7.938 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.4334, allocations: 113.5 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4334, allocations: 0 / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000292/0.4337, allocations: 43.86 kB / 0.5686 GB, free: 13.19 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.001769/0.4355, allocations: 497.9 kB / 0.5691 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.4358, allocations: 79.88 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4358, allocations: 0 / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.4359, allocations: 39.97 kB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.4362, allocations: 12 kB / 0.5692 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.4367, allocations: 235.8 kB / 0.5695 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.4371, allocations: 0.7002 MB / 0.5702 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.4372, allocations: 27.42 kB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4372, allocations: 0 / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.004692/0.4419, allocations: 2.154 MB / 0.5723 GB, free: 9.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 8.19068775488995]