Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001057/0.001057, 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.001185/0.001185, 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2634/0.2634, allocations: 34.26 MB / 296 MB, free: 0.7656 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 3.938 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.565e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003337/0.003362, allocations: 1.703 MB / 379.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.004285, allocations: 0.7946 MB / 380.5 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.004334, allocations: 4 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.004616, allocations: 27.78 kB / 380.6 MB, free: 432 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.004872, allocations: 43.77 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.004876, allocations: 0 / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.005067, allocations: 35.89 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.005111, allocations: 0 / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.00516, allocations: 19.92 kB / 380.7 MB, free: 332 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.005226, allocations: 11.98 kB / 380.7 MB, free: 320 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.00524, allocations: 7.875 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.82e-05/0.005299, allocations: 15.98 kB / 380.7 MB, free: 296 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.005349, allocations: 12 kB / 380.7 MB, free: 284 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.005376, allocations: 7.938 kB / 380.7 MB, free: 276 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.005537, allocations: 55.7 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.00554, allocations: 0 / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005541, allocations: 0 / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.005547, allocations: 0 / 380.8 MB, free: 220 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003939/0.005941, allocations: 396.3 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.005992, allocations: 12.03 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.006039, allocations: 8.891 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.006175, allocations: 124.5 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.00619, allocations: 4.375 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.0062, allocations: 384 / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.006366, allocations: 110.9 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.006374, allocations: 192 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.006388, allocations: 8.359 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.006446, allocations: 20.36 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/0.006506, allocations: 39.78 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.00723, allocations: 1.196 MB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.007331, allocations: 265.5 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.007408, allocations: 126.9 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.00744, allocations: 123.2 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.007498, allocations: 156.6 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.007499, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.232e-05/0.007581, allocations: 41.53 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.007645, allocations: 174.6 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.007864, allocations: 251 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007875, allocations: 25.7 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.008054, allocations: 206.2 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.894e-06/0.008062, allocations: 7.984 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.008125, allocations: 51.33 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.008269, allocations: 0.4923 MB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.008305, allocations: 15.98 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.008433, allocations: 189.7 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.008623, allocations: 233.4 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.008627, allocations: 7.938 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003584/0.008986, allocations: 169.6 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.009003, allocations: 8 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.009012, allocations: 4 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.009031, allocations: 7.938 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.009169, allocations: 47.91 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.00918, allocations: 8 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.055e-05/0.009271, allocations: 27.72 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.009285, allocations: 12 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002553/0.00954, allocations: 287.9 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.009611, allocations: 156.8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.009677, allocations: 156.7 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.637e-05/0.009753, allocations: 276 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.359e-05/0.009827, allocations: 268.2 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/0.009899, allocations: 272 kB / 386.7 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01014, allocations: 0.5116 MB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/0.01018, allocations: 144.9 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.01022, allocations: 148.8 kB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-05/0.0103, allocations: 272.1 kB / 387.7 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.01038, allocations: 272 kB / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.957e-05/0.01044, allocations: 268.1 kB / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/0.01052, allocations: 272 kB / 388.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.01067, allocations: 455.9 kB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.01073, allocations: 156.8 kB / 389.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/0.01109, allocations: 268.1 kB / 389.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.01118, allocations: 144.9 kB / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.01126, allocations: 276 kB / 389.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.0113, allocations: 148.9 kB / 389.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.857e-05/0.0114, allocations: 159.3 kB / 390.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0114, allocations: 0 / 390.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.0117, allocations: 16 kB / 390.1 MB, free: 6.25 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 (0): * Single equations (assignments): 0 * 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.0004221/0.01212, allocations: 315.7 kB / 390.4 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.01223, allocations: 71.47 kB / 390.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01224, allocations: 0 / 390.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.01224, allocations: 11.88 kB / 390.5 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.01252, allocations: 0.7113 MB / 391.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.01279, allocations: 277.3 kB / 391.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.01283, allocations: 67.84 kB / 391.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.209e-05/0.01291, allocations: 45.08 kB / 391.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.01293, allocations: 24.48 kB / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01293, allocations: 0 / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of Templates: time 0.002299/0.01523, allocations: 0.729 MB / 392.3 MB, free: 4.004 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.1327411627862602]