Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009795/0.0009795, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001125/0.001125, allocations: 166.5 kB / 24.99 MB, free: 8.289 MB / 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2852/0.2852, allocations: 34.26 MB / 296 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.591e-05, allocations: 5.828 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002215/0.002241, allocations: 1.626 MB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.002969, allocations: 0.5452 MB / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.003035, allocations: 0 / 380.2 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.00325, allocations: 31.78 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.003518, allocations: 79.61 kB / 380.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.00378, allocations: 115.5 kB / 380.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.003926, allocations: 63.84 kB / 380.5 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.00402, allocations: 8 kB / 380.5 MB, free: 484 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.004081, allocations: 39.83 kB / 380.5 MB, free: 444 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.004132, allocations: 15.92 kB / 380.6 MB, free: 428 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004145, allocations: 4 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.004214, allocations: 28 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.004263, allocations: 23.91 kB / 380.6 MB, free: 372 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.004294, allocations: 11.94 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004449, allocations: 71.67 kB / 380.7 MB, free: 288 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.004452, allocations: 4 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004453, allocations: 0 / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.004457, allocations: 0 / 380.7 MB, free: 284 kB / 346.7 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.0004412/0.004898, allocations: 424 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.004942, allocations: 12.03 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.004998, allocations: 12.88 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.005156, allocations: 140.1 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.005166, allocations: 384 / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.005188, allocations: 4.375 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005315, allocations: 58.7 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.005325, allocations: 0 / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.005333, allocations: 0 / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.005341, allocations: 0 / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.005372, allocations: 11.98 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.005658, allocations: 287.7 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.005821, allocations: 42.98 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.005846, allocations: 19.69 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.005864, allocations: 0 / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005884, allocations: 33.39 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.005885, allocations: 0 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003404/0.006226, allocations: 109.5 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.006258, allocations: 55.34 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.006384, allocations: 220.8 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.006394, allocations: 25.7 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.006452, allocations: 142.9 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.006476, allocations: 23.83 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.006505, allocations: 27.38 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.006618, allocations: 0.4961 MB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.006636, allocations: 4 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.00665, allocations: 4 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.918e-05/0.006689, allocations: 27.67 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.00669, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.107e-05/0.006771, allocations: 61.53 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.006785, allocations: 11.98 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006789, allocations: 0 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006801, allocations: 288 / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.006843, allocations: 8 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.006847, allocations: 4 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.006865, allocations: 4 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.006872, allocations: 3.984 kB / 382.9 MB, free: 13.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 (5): * Single equations (assignments): 5 * 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 6.755e-05/0.006939, allocations: 164.5 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.00696, allocations: 15.89 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.007074, allocations: 70.12 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.007077, allocations: 4 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.007081, allocations: 3.938 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007084, allocations: 0 / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.007311, allocations: 329.7 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007312, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.007345, allocations: 12.06 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.007347, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.007353, allocations: 4 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007355, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007356, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.007461, allocations: 211.8 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007471, allocations: 11.94 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.007483, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.007515, allocations: 8 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.007546, allocations: 4 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.00755, allocations: 4 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.00762, allocations: 157.6 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00762, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.007791, allocations: 15.94 kB / 383.9 MB, free: 12.77 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.0008275/0.008618, allocations: 388.2 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.831e-05/0.008717, allocations: 31.61 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.008718, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.008743, allocations: 23.67 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.008958, allocations: 18.8 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.009296, allocations: 182.3 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.009336, allocations: 71.33 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.009372, allocations: 8 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.0094, allocations: 20.48 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0094, allocations: 0 / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.002913/0.01231, allocations: 1.178 MB / 385.8 MB, free: 10.95 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1515952919144183]