Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.001368/0.001368, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001542/0.001542, allocations: 161.6 kB / 24.27 MB, free: 172 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.3511/0.3511, 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.522e-05/3.721e-05, allocations: 6.25 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003868/0.003906, allocations: 1.614 MB / 376.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.005101, allocations: 0.5298 MB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.005156, allocations: 4 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.005482, allocations: 71.7 kB / 377.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.005816, allocations: 107.5 kB / 377.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.006104, allocations: 83.7 kB / 377.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.006296, allocations: 95.67 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.006401, allocations: 12 kB / 377.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.006506, allocations: 43.88 kB / 377.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.006632, allocations: 55.88 kB / 377.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.006654, allocations: 8 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006756, allocations: 43.92 kB / 377.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.006821, allocations: 23.91 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.04e-05/0.006861, allocations: 15.92 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.007087, allocations: 111.5 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00709, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007091, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.007095, allocations: 0 / 378.1 MB, free: 2.125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005476/0.007643, allocations: 337.6 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.007683, allocations: 8.031 kB / 378.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.007745, allocations: 16.84 kB / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.007979, allocations: 150.3 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.007993, allocations: 8.359 kB / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.008017, allocations: 384 / 378.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.008186, allocations: 58.19 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.008199, allocations: 192 / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.008214, allocations: 4.125 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.008218, allocations: 0 / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.008328, allocations: 27.97 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.008752, allocations: 232.5 kB / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.008876, allocations: 50.5 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.008944, allocations: 16.8 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.008966, allocations: 4.031 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.009011, allocations: 42.55 kB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.009012, allocations: 0 / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000993/0.01001, allocations: 221.2 kB / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.01006, allocations: 51.41 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.01034, allocations: 222.7 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.01036, allocations: 25.7 kB / 379.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01048, allocations: 108.1 kB / 379.6 MB, free: 428 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.01052, allocations: 35.72 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.01057, allocations: 21.72 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.01079, allocations: 326.8 kB / 380 MB, free: 28 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.01088, allocations: 19.98 kB / 380 MB, free: 8 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.01099, allocations: 31.98 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01116, allocations: 61.05 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01116, allocations: 4 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002534/0.01141, allocations: 105.6 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.01143, allocations: 4 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01144, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.01147, allocations: 0 / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.0116, allocations: 27.92 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01161, allocations: 0 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.01165, allocations: 4 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01167, allocations: 3.984 kB / 380.3 MB, free: 15.76 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 (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.000164/0.01183, allocations: 129.8 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.01188, allocations: 15.91 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.01223, allocations: 119.1 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01224, allocations: 3.938 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01224, allocations: 4 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01225, allocations: 432 / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.01289, allocations: 350.9 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01289, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.01297, allocations: 23.92 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01297, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01298, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01298, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.01299, allocations: 7.984 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.01335, allocations: 216.2 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.01338, allocations: 11.94 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.0134, allocations: 4 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.01348, allocations: 4 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.01354, allocations: 11.92 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01355, allocations: 4 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.01374, allocations: 160.2 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01374, allocations: 0 / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.01401, allocations: 16 kB / 381.3 MB, free: 14.63 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 (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.002309/0.01632, allocations: 494.4 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.01659, allocations: 71.84 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01659, allocations: 0 / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01669, allocations: 35.97 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.01711, allocations: 18.61 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.01775, allocations: 265.5 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.01787, allocations: 92.81 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.01792, allocations: 12.78 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.01796, allocations: 16.5 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01796, allocations: 0 / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Templates: time 0.005026/0.02298, allocations: 1.373 MB / 383.7 MB, free: 12.45 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.949009559932165]