Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001049/0.001049, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001599/0.001599, allocations: 161 kB / 24.56 MB, free: 16 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.002/1.002, allocations: 177.1 MB / 205 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.2864/0.2864, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.922e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003227/0.003256, allocations: 1.697 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.0051, allocations: 1.313 MB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.005195, allocations: 0 / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.005465, allocations: 31.77 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004315/0.005897, allocations: 87.55 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.006481, allocations: 179.4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.006684, allocations: 75.83 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.0068, allocations: 11.98 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.006891, allocations: 47.83 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.007015, allocations: 27.97 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.007035, allocations: 7.938 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.007251, allocations: 95.81 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.007326, allocations: 23.92 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.007363, allocations: 11.98 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.007656, allocations: 147.4 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.007659, allocations: 4 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007661, allocations: 0 / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.007665, allocations: 0 / 381.8 MB, free: 14.84 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.0005441/0.008209, allocations: 436 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.008254, allocations: 12.03 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.008313, allocations: 8.891 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.008508, allocations: 142.3 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.00852, allocations: 384 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.008556, allocations: 4.375 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.00875, allocations: 115.9 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.008763, allocations: 8.188 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.008781, allocations: 4.125 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.00879, allocations: 0 / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.008836, allocations: 8 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.009262, allocations: 295.7 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.009358, allocations: 39 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.009391, allocations: 19.62 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.009415, allocations: 4.078 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.009443, allocations: 37.39 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.009445, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000516/0.009961, allocations: 129.4 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.01001, allocations: 81.11 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.01017, allocations: 197.9 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.01019, allocations: 25.7 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.01025, allocations: 138.9 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.01029, allocations: 31.73 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.01033, allocations: 23.38 kB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01047, allocations: 0.4923 MB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.0105, allocations: 8 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.01056, allocations: 65 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.214e-05/0.01064, allocations: 39.69 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01064, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001317/0.01077, allocations: 61.64 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.01079, allocations: 14.33 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01079, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01081, allocations: 7.938 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.01092, allocations: 19.94 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.01093, allocations: 3.984 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.01097, allocations: 8.031 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.01098, allocations: 4 kB / 384.2 MB, free: 12.16 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 (7): * Single equations (assignments): 7 * 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 9.2e-05/0.01107, allocations: 160.5 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.01111, allocations: 12.23 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.0113, allocations: 78.44 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.01131, allocations: 3.984 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01131, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01131, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.01166, allocations: 345.3 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01166, allocations: 0 / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.01173, allocations: 20 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.01173, allocations: 0 / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01175, allocations: 3.984 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01175, allocations: 480 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01175, allocations: 0 / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.01194, allocations: 227.7 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.01196, allocations: 11.95 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.01198, allocations: 0 / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.01205, allocations: 7.984 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.0121, allocations: 7.984 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.0121, allocations: 4 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.813e-05/0.01219, allocations: 151.2 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01219, allocations: 0 / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.01255, allocations: 43.86 kB / 385.3 MB, free: 11.02 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 (7): * Single equations (assignments): 7 * 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.001483/0.01403, allocations: 496 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.01419, allocations: 47.58 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.01419, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-05/0.01424, allocations: 27.67 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.01457, allocations: 26.84 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.01504, allocations: 200.8 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.01509, allocations: 67.28 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.316e-05/0.01518, allocations: 24.7 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.01523, allocations: 24.48 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01523, allocations: 0 / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of Templates: time 0.005022/0.02025, allocations: 1.998 MB / 388.2 MB, free: 8.262 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.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.273925379384309]