Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001882/0.001882, 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.002095/0.002095, allocations: 161.7 kB / 24.27 MB, free: 176 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3846/0.3846, allocations: 34.25 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.893e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003096/0.003125, allocations: 1.607 MB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.004265, allocations: 0.5375 MB / 379.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.004314, allocations: 0 / 379.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.004615, allocations: 79.64 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.004946, allocations: 103.6 kB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.005255, allocations: 115.6 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.005429, allocations: 87.73 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005538, allocations: 15.98 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.005634, allocations: 51.81 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.005742, allocations: 43.95 kB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.005766, allocations: 11.92 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.005862, allocations: 43.92 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.005921, allocations: 23.92 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.005959, allocations: 11.94 kB / 380 MB, free: 216 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.006166, allocations: 107.6 kB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.00617, allocations: 4 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006171, allocations: 0 / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.006175, allocations: 0 / 380.1 MB, free: 104 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005772/0.006752, allocations: 345.5 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.006787, allocations: 12.03 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.00684, allocations: 16.84 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.007149, allocations: 142.3 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.007159, allocations: 384 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.007182, allocations: 4.375 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.007329, allocations: 58.23 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.007339, allocations: 192 / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.007351, allocations: 4.125 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.007355, allocations: 4 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.007474, allocations: 31.91 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.007892, allocations: 240.5 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.008014, allocations: 42.56 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.008092, allocations: 24.81 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.008115, allocations: 8 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.008148, allocations: 34.56 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.008149, allocations: 0 / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009807/0.00913, allocations: 245.2 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.009176, allocations: 51.41 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.009461, allocations: 226.6 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.009482, allocations: 25.7 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.009582, allocations: 108.1 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.009622, allocations: 27.75 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.009667, allocations: 25.64 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.009849, allocations: 326.8 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.822e-05/0.009947, allocations: 27.98 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-05/0.01003, allocations: 31.97 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.01022, allocations: 80.83 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01022, allocations: 0 / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002766/0.0105, allocations: 117.5 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.01051, allocations: 4 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.01052, allocations: 8 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.01054, allocations: 0 / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01064, allocations: 15.98 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01064, allocations: 0 / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.01069, allocations: 11.94 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.0107, allocations: 8 kB / 382.4 MB, free: 13.66 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 (8): * Single equations (assignments): 8 * 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.000124/0.01083, allocations: 129.8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.01087, allocations: 15.91 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.01125, allocations: 127.1 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01126, allocations: 432 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.01126, allocations: 4 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01127, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.01186, allocations: 363.3 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01187, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.01194, allocations: 23.92 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01195, allocations: 3.984 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01196, allocations: 4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01196, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01196, allocations: 80 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01231, allocations: 224.2 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01233, allocations: 15.97 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.01235, allocations: 0 / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.672e-05/0.01245, allocations: 4 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.0125, allocations: 19.86 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.0125, allocations: 0 / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.01268, allocations: 160.2 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01268, allocations: 0 / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.01294, allocations: 27.88 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002225/0.01517, allocations: 496.2 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.01541, allocations: 71.88 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01541, allocations: 4 kB / 384.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01552, allocations: 36.05 kB / 384.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.01591, allocations: 23.89 kB / 384.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.0165, allocations: 273.4 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.01662, allocations: 100.8 kB / 384.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.01669, allocations: 25.02 kB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.01673, allocations: 16.48 kB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01673, allocations: 0 / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of Templates: time 0.004565/0.02129, allocations: 1.392 MB / 385.9 MB, free: 10.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.9398065090645105]