Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.002204/0.002204, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002463/0.002463, 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3541/0.3541, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test4,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.313e-05, allocations: 8.641 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003786/0.003819, allocations: 1.646 MB / 376.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.005205, allocations: 0.5454 MB / 377.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.005281, allocations: 0 / 377.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.005638, allocations: 95.56 kB / 377.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.006019, allocations: 111.6 kB / 377.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.006343, allocations: 99.62 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.00655, allocations: 99.73 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.006664, allocations: 15.98 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.00678, allocations: 55.88 kB / 378 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.006907, allocations: 59.86 kB / 378 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.006928, allocations: 4 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.007043, allocations: 51.91 kB / 378.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.007107, allocations: 23.86 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.007153, allocations: 19.94 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.007395, allocations: 135.5 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007398, allocations: 0 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0074, allocations: 0 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.007405, allocations: 0 / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006184/0.008023, allocations: 475.3 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.008059, allocations: 8.031 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.008119, allocations: 16.84 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.008337, allocations: 160.3 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.008353, allocations: 8.375 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.008377, allocations: 4.375 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.008534, allocations: 62.23 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008546, allocations: 4.188 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.008558, allocations: 4.125 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.008566, allocations: 7.984 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.008681, allocations: 23.98 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.009304, allocations: 339.6 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.009466, allocations: 74.97 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.009523, allocations: 19.69 kB / 379.4 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.009548, allocations: 4 kB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.009594, allocations: 41.31 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.009596, allocations: 4 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001051/0.01065, allocations: 293.8 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.01069, allocations: 51.41 kB / 379.8 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.01096, allocations: 262.7 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.011, allocations: 29.7 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01112, allocations: 166.8 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.01118, allocations: 51.58 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.01124, allocations: 35.38 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002812/0.01152, allocations: 0.5117 MB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.01161, allocations: 31.97 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.01169, allocations: 31.98 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.01187, allocations: 83.67 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01187, allocations: 0 / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000259/0.01213, allocations: 133.6 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.01215, allocations: 11.98 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01215, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01216, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.01231, allocations: 27.92 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.01232, allocations: 4 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.01236, allocations: 4 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.01238, allocations: 11.94 kB / 381.2 MB, free: 14.84 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.0001431/0.01252, allocations: 160.6 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.01257, allocations: 19.91 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.01292, allocations: 162.6 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01293, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01293, allocations: 4 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01293, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.01364, allocations: 484.8 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01364, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.01374, allocations: 20 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.01374, allocations: 3.984 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.01376, allocations: 11.94 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01376, allocations: 3.938 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01376, allocations: 4.031 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.01414, allocations: 291.5 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.01416, allocations: 11.95 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.01419, allocations: 3.938 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.01426, allocations: 4 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.0143, allocations: 11.98 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01432, allocations: 4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.0145, allocations: 193 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0145, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.01476, allocations: 35.89 kB / 382.6 MB, free: 13.35 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.003372/0.01813, allocations: 498.6 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.01844, allocations: 99.64 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01845, allocations: 3.938 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.01857, allocations: 59.66 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.01893, allocations: 18.8 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.0196, allocations: 304.5 kB / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.01972, allocations: 97.11 kB / 383.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.01979, allocations: 24.53 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.01983, allocations: 16.5 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01984, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.00555/0.02539, allocations: 1.558 MB / 385.3 MB, free: 10.86 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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: 4.814983044983819]