Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0016/0.0016, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.002119/0.002119, allocations: 210 kB / 24.49 MB, free: 4.148 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2406/0.2406, allocations: 46.94 MB / 361.6 MB, free: 4.254 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.Test25_usertab,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.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.91 kB / 0.4974 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4092, allocations: 66.04 MB / 0.5619 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003468/0.4127, allocations: 1.624 MB / 0.5635 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.4138, allocations: 0.566 MB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.4139, allocations: 4 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.4141, allocations: 31.78 kB / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.4144, allocations: 71.69 kB / 0.5641 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.4148, allocations: 119.7 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.4149, allocations: 75.7 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4151, allocations: 15.98 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.4151, allocations: 27.86 kB / 0.5644 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.984e-05/0.4152, allocations: 31.84 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4152, allocations: 4 kB / 0.5644 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.4154, allocations: 99.92 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.4155, allocations: 11.94 kB / 0.5645 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.4155, allocations: 35.73 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.4158, allocations: 141.9 kB / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4158, allocations: 0 / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4158, allocations: 0 / 0.5647 GB, free: 1.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4158, allocations: 0 / 0.5647 GB, free: 1.527 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.0005646/0.4164, allocations: 333.7 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4164, allocations: 8.031 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.4165, allocations: 8.891 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.4167, allocations: 146.3 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4167, allocations: 4.375 kB / 0.5651 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.4168, allocations: 4.375 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4169, allocations: 67.52 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4169, allocations: 4 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.417, allocations: 3.984 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.417, allocations: 0 / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.4171, allocations: 23.98 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.4176, allocations: 267.9 kB / 0.5655 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.4178, allocations: 46.56 kB / 0.5655 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.4179, allocations: 24.94 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4179, allocations: 0 / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4179, allocations: 34.56 kB / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.4179, allocations: 0 / 0.5656 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007074/0.4186, allocations: 185.3 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.4187, allocations: 81.05 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.419, allocations: 159.7 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.419, allocations: 29.7 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.4191, allocations: 88.08 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.4191, allocations: 31.77 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.4192, allocations: 25.72 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4194, allocations: 322.8 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.4195, allocations: 35.98 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.4196, allocations: 45.75 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.4198, allocations: 68.81 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4198, allocations: 0 / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.42, allocations: 105.6 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.42, allocations: 15.91 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.42, allocations: 4 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.42, allocations: 7.984 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4202, allocations: 12 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.4202, allocations: 0 / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.4203, allocations: 7.984 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.4203, allocations: 7.938 kB / 0.5668 GB, free: 15.16 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.00011/0.4204, allocations: 117.8 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.4204, allocations: 11.95 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4207, allocations: 118.3 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4207, allocations: 4 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4207, allocations: 0 / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4207, allocations: 0 / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.4213, allocations: 361.4 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4213, allocations: 4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.4213, allocations: 15.98 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4213, allocations: 0 / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4214, allocations: 7.938 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4214, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.4214, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.4216, allocations: 195.8 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.4217, allocations: 19.94 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4217, allocations: 3.938 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.4218, allocations: 4 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4218, allocations: 19.86 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4218, allocations: 0 / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.422, allocations: 117.4 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.422, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.4223, allocations: 43.86 kB / 0.5678 GB, free: 14.05 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 (7): * Single equations (assignments): 7 * 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.002058/0.4243, allocations: 0.5094 MB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.4246, allocations: 63.95 kB / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4246, allocations: 0 / 0.5683 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.4247, allocations: 35.91 kB / 0.5684 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4251, allocations: 15.98 kB / 0.5684 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.4257, allocations: 223.6 kB / 0.5686 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.4261, allocations: 0.6885 MB / 0.5693 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.4262, allocations: 19.42 kB / 0.5693 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4262, allocations: 4 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of Templates: time 0.005377/0.4316, allocations: 2.127 MB / 0.5714 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.185903975972906]