Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001662/0.001662, allocations: 92.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.00162/0.00162, allocations: 165.7 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.578 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.3528/0.3528, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.334e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004532/0.004565, allocations: 1.619 MB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.006315, allocations: 0.5452 MB / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.006392, allocations: 0 / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.007399, allocations: 451.1 kB / 379.9 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000851/0.00825, allocations: 295.2 kB / 380.2 MB, free: 36 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.008971, allocations: 171.5 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.009343, allocations: 171.6 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.009459, allocations: 11.97 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.009684, allocations: 111.8 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.01014, allocations: 239.6 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.01017, allocations: 4 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.01027, allocations: 31.86 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.01042, allocations: 87.72 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.0105, allocations: 31.75 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.011, allocations: 227.1 kB / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.011, allocations: 3.984 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01101, allocations: 0 / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01101, allocations: 0 / 381.3 MB, free: 14.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001068/0.01208, allocations: 0.566 MB / 381.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.01212, allocations: 8.031 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.01224, allocations: 44.66 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.01272, allocations: 253.9 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.01274, allocations: 4.375 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.01275, allocations: 4.375 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.01296, allocations: 50.25 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.01297, allocations: 192 / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01299, allocations: 4.125 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.013, allocations: 0 / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.01316, allocations: 27.97 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.01389, allocations: 324.5 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.01403, allocations: 26.58 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.01413, allocations: 28.84 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.01416, allocations: 0 / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.01421, allocations: 30.56 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 4.96e-06/0.01421, allocations: 7.984 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005017/0.01471, allocations: 105.3 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.01478, allocations: 51.41 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.01637, allocations: 0.8613 MB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.0164, allocations: 25.7 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.01667, allocations: 220.2 kB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.0167, allocations: 11.89 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.01675, allocations: 13.72 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004304/0.01718, allocations: 358.8 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.01726, allocations: 11.98 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.01731, allocations: 8 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.01746, allocations: 32.83 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.01746, allocations: 0 / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002696/0.01773, allocations: 101.3 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.01776, allocations: 10.03 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01776, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.01778, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01789, allocations: 7.984 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.0179, allocations: 4 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.01798, allocations: 4 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.01799, allocations: 0 / 384.4 MB, free: 11.62 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 0.0003399/0.01833, allocations: 213.8 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.01843, allocations: 51.59 kB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.01876, allocations: 108.7 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01877, allocations: 0 / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01877, allocations: 0 / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01877, allocations: 0 / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.01923, allocations: 237.2 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01923, allocations: 0 / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.01928, allocations: 4 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.01928, allocations: 3.938 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.01929, allocations: 0 / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01929, allocations: 4.031 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01929, allocations: 0 / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.01963, allocations: 187.2 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.01972, allocations: 39.66 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.01975, allocations: 0 / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.01989, allocations: 4 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.01992, allocations: 11.92 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.01992, allocations: 0 / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.02108, allocations: 0.6472 MB / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.02108, allocations: 0 / 385.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004187/0.0215, allocations: 20.03 kB / 385.9 MB, free: 10.05 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.002342/0.02384, allocations: 371.5 kB / 386.3 MB, free: 9.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.02406, allocations: 23.98 kB / 386.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02406, allocations: 0 / 386.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.659e-05/0.02412, allocations: 15.98 kB / 386.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.02474, allocations: 29.19 kB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.02659, allocations: 0.8056 MB / 387.2 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.02698, allocations: 220.1 kB / 387.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.02705, allocations: 19.88 kB / 387.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.0271, allocations: 12.5 kB / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0271, allocations: 0 / 387.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of Templates: time 0.006914/0.03402, allocations: 1.125 MB / 388.5 MB, free: 7.547 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.767535412916914]