Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0009437/0.0009437, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001011/0.001011, allocations: 161.4 kB / 24.56 MB, free: 20 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.067/1.067, allocations: 177.1 MB / 205 MB, free: 5.609 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.3045/0.3045, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.624e-05, allocations: 6.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003953/0.003989, allocations: 1.653 MB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.005209, allocations: 0.5453 MB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.00531, allocations: 0 / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.005772, allocations: 131.6 kB / 380.4 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.006245, allocations: 131.4 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.006632, allocations: 107.7 kB / 380.6 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.006898, allocations: 107.7 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.007023, allocations: 11.91 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.007151, allocations: 59.88 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.007313, allocations: 87.81 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.007336, allocations: 4 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.007455, allocations: 43.92 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.007526, allocations: 27.92 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.007569, allocations: 23.86 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.007811, allocations: 99.59 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.007816, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007818, allocations: 3.938 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.007825, allocations: 0 / 381.1 MB, free: 15.58 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.0006161/0.008441, allocations: 471.7 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.008494, allocations: 8.031 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.008563, allocations: 16.84 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.008798, allocations: 152.4 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.008813, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.008846, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.009028, allocations: 54.95 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.009041, allocations: 4.188 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.009054, allocations: 8.062 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.009064, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.009113, allocations: 11.98 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.00962, allocations: 311.7 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.009722, allocations: 43 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.00976, allocations: 19.7 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.009788, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.009819, allocations: 37.39 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.009822, allocations: 3.984 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000793/0.01061, allocations: 181.2 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.01066, allocations: 63.41 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.01092, allocations: 270.8 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.01094, allocations: 25.7 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.01103, allocations: 170.8 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.01107, allocations: 31.73 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.01112, allocations: 23.38 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.01129, allocations: 0.504 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.01133, allocations: 19.98 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.01136, allocations: 7.938 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.01144, allocations: 43.67 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01144, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000138/0.01158, allocations: 77.59 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.0116, allocations: 8 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.0116, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.01162, allocations: 0 / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01173, allocations: 15.94 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.01174, allocations: 3.984 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.01177, allocations: 4 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01178, allocations: 4 kB / 383.6 MB, free: 12.81 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 9.55e-05/0.01188, allocations: 160.5 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.01192, allocations: 15.91 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.01212, allocations: 103.4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01213, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01213, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01213, allocations: 0 / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.0126, allocations: 393 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.0126, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.147e-05/0.01267, allocations: 19.92 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01267, allocations: 0 / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01269, allocations: 8 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.01269, allocations: 0 / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01269, allocations: 4.031 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.0129, allocations: 239.4 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.01292, allocations: 11.89 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.01294, allocations: 7.922 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.01301, allocations: 8 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.01305, allocations: 11.92 kB / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.01306, allocations: 0 / 384.6 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.01319, allocations: 192.1 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01319, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000281/0.01348, allocations: 20 kB / 384.8 MB, free: 11.55 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.00142/0.0149, allocations: 445.7 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.01506, allocations: 43.61 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01506, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.01511, allocations: 23.67 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.01547, allocations: 27.94 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.01605, allocations: 279.1 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.01612, allocations: 75.33 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.0162, allocations: 17.02 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.01624, allocations: 20.48 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01624, allocations: 0 / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of Templates: time 0.004949/0.02119, allocations: 1.434 MB / 387.1 MB, free: 9.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.404919205699116]