Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.002408/0.002408, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.003152/0.003152, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.623/1.623, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3561/0.3561, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 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.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.912e-05, allocations: 5.688 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003204/0.003233, allocations: 1.642 MB / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.004462, allocations: 0.5531 MB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.004528, allocations: 0 / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.00485, allocations: 99.61 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.005183, allocations: 119.5 kB / 379.7 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.005524, allocations: 115.7 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.005724, allocations: 107.6 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.005845, allocations: 27.97 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.00595, allocations: 51.89 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.006074, allocations: 59.86 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.006097, allocations: 4 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.006211, allocations: 51.91 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.006279, allocations: 27.86 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.006321, allocations: 19.92 kB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.006588, allocations: 139.5 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006591, allocations: 0 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006592, allocations: 0 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.006597, allocations: 0 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006256/0.007222, allocations: 467.4 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.007259, allocations: 12.03 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.007323, allocations: 20.84 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.007571, allocations: 160.3 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.007586, allocations: 8.375 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.007609, allocations: 4.375 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.007769, allocations: 62.23 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.007782, allocations: 4.188 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.007795, allocations: 8.125 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.007799, allocations: 0 / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.007917, allocations: 35.91 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.008792, allocations: 355.5 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.008949, allocations: 71.03 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.009008, allocations: 19.69 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.009031, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.009074, allocations: 45.31 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/0.009077, allocations: 7.984 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001065/0.01014, allocations: 269.6 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.0102, allocations: 59.41 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.01056, allocations: 262.7 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.01059, allocations: 25.7 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.01076, allocations: 162.8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.01084, allocations: 59.72 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.01092, allocations: 35.38 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003106/0.01123, allocations: 0.5117 MB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.01133, allocations: 27.92 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.701e-05/0.01141, allocations: 32.11 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.01159, allocations: 83.17 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.01159, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002551/0.01185, allocations: 121.6 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01187, allocations: 8 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01187, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01188, allocations: 0 / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01201, allocations: 31.92 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01201, allocations: 0 / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.01206, allocations: 7.938 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.01207, allocations: 4 kB / 383.3 MB, free: 12.77 MB / 362.7 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.0001473/0.01222, allocations: 164.6 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.01226, allocations: 19.84 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.01262, allocations: 151 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.01263, allocations: 4 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01263, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01263, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007336/0.01337, allocations: 476.9 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01337, allocations: 0 / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.179e-05/0.01346, allocations: 23.98 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01346, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01347, allocations: 3.938 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01348, allocations: 4.031 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.01348, allocations: 7.938 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.01385, allocations: 287.5 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01388, allocations: 11.91 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.0139, allocations: 3.938 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.01397, allocations: 8 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.01403, allocations: 15.91 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.01405, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.01423, allocations: 189.1 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01423, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.0145, allocations: 35.92 kB / 384.6 MB, free: 11.31 MB / 362.7 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.003233/0.01773, allocations: 498.9 kB / 385.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.01799, allocations: 87.41 kB / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01799, allocations: 0 / 385.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.01812, allocations: 63.53 kB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.01846, allocations: 23.36 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.0191, allocations: 300.6 kB / 385.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.01923, allocations: 105.1 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.765e-05/0.01931, allocations: 28.52 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.01936, allocations: 20.5 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01936, allocations: 0 / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.005284/0.02464, allocations: 1.616 MB / 387.4 MB, free: 8.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.038139012991451]