Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001425/0.001425, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00106/0.00106, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9236/0.9236, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2656/0.2656, allocations: 34.26 MB / 296 MB, free: 0.7773 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.435e-05, allocations: 2.312 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002061/0.002086, allocations: 1.657 MB / 379.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.002777, allocations: 0.5258 MB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.002827, allocations: 0 / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.003266, allocations: 455 kB / 380.7 MB, free: 344 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.003646, allocations: 299.2 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.003867, allocations: 115.6 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.004051, allocations: 175.6 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.004143, allocations: 4.188 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.004254, allocations: 115.8 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.004448, allocations: 235.6 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004463, allocations: 7.938 kB / 381.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.00452, allocations: 27.92 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.004603, allocations: 79.7 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.004639, allocations: 39.73 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.00483, allocations: 183.2 kB / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004833, allocations: 0 / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004834, allocations: 0 / 381.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.004839, allocations: 0 / 381.9 MB, free: 15.08 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.0005058/0.005344, allocations: 0.6931 MB / 382.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.005389, allocations: 12.03 kB / 382.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.005446, allocations: 40.66 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.00564, allocations: 240.9 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.005651, allocations: 384 / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.00566, allocations: 4.375 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.005769, allocations: 58.95 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005776, allocations: 192 / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005785, allocations: 3.938 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.005793, allocations: 0 / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.005818, allocations: 7.984 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.006188, allocations: 419.6 kB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.788e-05/0.006236, allocations: 34.94 kB / 383.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.006257, allocations: 11.75 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.006275, allocations: 0 / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.006299, allocations: 41.38 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 6.02e-07/0.0063, allocations: 4 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001657/0.006466, allocations: 85.34 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.006492, allocations: 51.41 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.007135, allocations: 0.6277 MB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.007147, allocations: 33.69 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.007279, allocations: 286.8 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.007295, allocations: 3.953 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.007324, allocations: 19.38 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.007461, allocations: 0.5508 MB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.007472, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.00748, allocations: 8.125 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.007506, allocations: 19.62 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.007509, allocations: 4 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.741e-05/0.007577, allocations: 81.34 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.00759, allocations: 9.875 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.007594, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007605, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.007658, allocations: 4 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007663, allocations: 0 / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.007685, allocations: 4.094 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.007692, allocations: 8 kB / 385.2 MB, free: 11.53 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.697e-05/0.007759, allocations: 152.6 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.007792, allocations: 47.64 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.007888, allocations: 80.69 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.00789, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.007893, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007896, allocations: 0 / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.008085, allocations: 272.5 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.008087, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.008108, allocations: 15.95 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00811, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.008115, allocations: 0 / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008116, allocations: 7.938 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008117, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.577e-05/0.008212, allocations: 231.6 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.00824, allocations: 35.66 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.008253, allocations: 0 / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.008288, allocations: 4 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.008301, allocations: 4 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.008303, allocations: 4.031 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.008537, allocations: 426.8 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008537, allocations: 0 / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.008695, allocations: 19.94 kB / 386.5 MB, free: 10.19 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.0006536/0.009349, allocations: 333.2 kB / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.00942, allocations: 11.69 kB / 386.9 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009422, allocations: 4 kB / 386.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.009433, allocations: 19.67 kB / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.009661, allocations: 25.95 kB / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.0102, allocations: 0.5628 MB / 387.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.01027, allocations: 119.2 kB / 387.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.01029, allocations: 4 kB / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.01032, allocations: 16.48 kB / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01032, allocations: 0 / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of Templates: time 0.00325/0.01357, allocations: 1.148 MB / 388.8 MB, free: 8.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.1526321740821004]