Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001895/0.001895, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001969/0.001969, allocations: 165.6 kB / 24.27 MB, free: 156 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.3563/0.3563, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.748e-05, allocations: 6.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003559/0.003587, allocations: 1.658 MB / 379 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004912, allocations: 0.5647 MB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.004964, allocations: 3.938 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.005642, allocations: 455.1 kB / 380 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005144/0.006157, allocations: 299.2 kB / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.006574, allocations: 171.5 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.006831, allocations: 179.5 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.006911, allocations: 15.98 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.007076, allocations: 119.8 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.007383, allocations: 247.5 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.007409, allocations: 0 / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.007504, allocations: 35.92 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.007614, allocations: 87.7 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.007673, allocations: 39.73 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.008018, allocations: 239.1 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.008021, allocations: 0 / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008022, allocations: 4 kB / 381.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.008027, allocations: 0 / 381.4 MB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009008/0.008928, allocations: 0.7162 MB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.008958, allocations: 8.031 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.009036, allocations: 44.66 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.009356, allocations: 248.8 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.009369, allocations: 8.375 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.009384, allocations: 384 / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.009511, allocations: 46.25 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.009522, allocations: 192 / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.009531, allocations: 4.125 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.009535, allocations: 4 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.502e-05/0.00962, allocations: 23.92 kB / 382.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.01031, allocations: 467.6 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.01052, allocations: 50.98 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.01057, allocations: 15.77 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.01058, allocations: 3.938 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.01062, allocations: 45.33 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.01062, allocations: 0 / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005982/0.01122, allocations: 220.8 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.01127, allocations: 55.41 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.01208, allocations: 0.6745 MB / 384 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.0121, allocations: 25.7 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.01239, allocations: 302.9 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.01242, allocations: 15.83 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.01247, allocations: 27.38 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003832/0.01285, allocations: 0.5704 MB / 384.9 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.01291, allocations: 8 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.01296, allocations: 23.98 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01308, allocations: 47.8 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01309, allocations: 0 / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002166/0.0133, allocations: 113.3 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.01332, allocations: 10.03 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.01332, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.01334, allocations: 0 / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.0134, allocations: 8 kB / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.0134, allocations: 0 / 385.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.01345, allocations: 15.98 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.01346, allocations: 0 / 385.1 MB, free: 10.9 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 0.0001415/0.0136, allocations: 160.5 kB / 385.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.01367, allocations: 47.72 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.01395, allocations: 117.1 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01395, allocations: 0 / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01395, allocations: 0 / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01395, allocations: 0 / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.01491, allocations: 0.513 MB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01491, allocations: 0 / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.01497, allocations: 15.92 kB / 386 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01498, allocations: 0 / 386 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01498, allocations: 0 / 386 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01498, allocations: 192 / 386 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01498, allocations: 0 / 386 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.0153, allocations: 267.6 kB / 386.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.01536, allocations: 35.66 kB / 386.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.01539, allocations: 4 kB / 386.3 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.01547, allocations: 4 kB / 386.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01551, allocations: 11.98 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.01552, allocations: 0 / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004995/0.01602, allocations: 442.8 kB / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01602, allocations: 0 / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.01626, allocations: 20 kB / 386.8 MB, free: 9.207 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.002826/0.01909, allocations: 440.2 kB / 387.2 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.01928, allocations: 39.67 kB / 387.2 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01928, allocations: 4 kB / 387.2 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.01937, allocations: 31.67 kB / 387.3 MB, free: 8.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.01974, allocations: 29.91 kB / 387.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.02073, allocations: 0.5965 MB / 387.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.02098, allocations: 208.1 kB / 388.1 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.02103, allocations: 7.984 kB / 388.1 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.02106, allocations: 20.5 kB / 388.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.02106, allocations: 0 / 388.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of Templates: time 0.00534/0.0264, allocations: 1.352 MB / 389.5 MB, free: 6.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 5.0053269299678504]