Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.0009982/0.0009982, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009662/0.0009662, allocations: 165.5 kB / 24.82 MB, free: 9.27 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 0.942/0.942, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] 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.2297/0.2297, allocations: 32.8 MB / 294.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.693e-05, allocations: 9.062 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001931/0.001948, allocations: 1.642 MB / 378.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006737/0.002622, allocations: 0.5452 MB / 378.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.002675, allocations: 4 kB / 378.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.003093, allocations: 447.1 kB / 379.1 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.003415, allocations: 303.1 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.003694, allocations: 163.5 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.003862, allocations: 175.6 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.003934, allocations: 8 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.004031, allocations: 123.8 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.004201, allocations: 235.5 kB / 380.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.004215, allocations: 4 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.004266, allocations: 23.94 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.004339, allocations: 87.7 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.00437, allocations: 43.73 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.004534, allocations: 187.2 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.004536, allocations: 0 / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.004536, allocations: 0 / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004539, allocations: 0 / 380.4 MB, free: 428 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.0004775/0.005017, allocations: 0.6892 MB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.005049, allocations: 12.03 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.00509, allocations: 44.66 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.00524, allocations: 248.8 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.005246, allocations: 384 / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-06/0.005252, allocations: 384 / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.878e-05/0.00533, allocations: 62.94 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.005335, allocations: 192 / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.005343, allocations: 4.125 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.005346, allocations: 0 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.603e-05/0.005362, allocations: 7.938 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.005631, allocations: 328.3 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.00567, allocations: 31.05 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.005682, allocations: 7.75 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.0057, allocations: 8 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.00572, allocations: 45.27 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005721, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001183/0.005839, allocations: 85.41 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.005866, allocations: 51.41 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.006199, allocations: 0.604 MB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.006208, allocations: 25.7 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.006342, allocations: 298.7 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.006357, allocations: 11.94 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.006382, allocations: 23.31 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.006525, allocations: 0.5547 MB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.006532, allocations: 4.125 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.00654, allocations: 7.984 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.006562, allocations: 15.62 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006564, allocations: 0 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.648e-05/0.00663, allocations: 81.36 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.006641, allocations: 6.656 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.006645, allocations: 0 / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.006652, allocations: 0 / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.006695, allocations: 11.98 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.006697, allocations: 96 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.006718, allocations: 8 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.006722, allocations: 0 / 383.7 MB, free: 12.97 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 (2): * Single equations (assignments): 2 * 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.678e-05/0.006789, allocations: 156.6 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.00682, allocations: 51.59 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.006909, allocations: 76.73 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006911, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.006912, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006915, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.007108, allocations: 197.1 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00711, allocations: 32 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.00713, allocations: 8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007132, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.007136, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.007139, allocations: 3.938 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.00714, allocations: 0 / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.007263, allocations: 231.6 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.007293, allocations: 31.72 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.007311, allocations: 4 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.571e-05/0.007366, allocations: 7.938 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-06/0.007375, allocations: 0 / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.007379, allocations: 8.016 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002605/0.00764, allocations: 390.7 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00764, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.007865, allocations: 23.92 kB / 384.9 MB, free: 11.74 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 (2): * Single equations (assignments): 2 * 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.0007207/0.008585, allocations: 326.8 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.461e-05/0.00864, allocations: 15.67 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008641, allocations: 4.062 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.008655, allocations: 15.62 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.008936, allocations: 29.91 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.009578, allocations: 0.5665 MB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.009667, allocations: 119.2 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.009694, allocations: 7.984 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.009746, allocations: 78.19 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009747, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.00357/0.01332, allocations: 1.24 MB / 387.2 MB, free: 9.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.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: 2.8198636113666]