Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.002124/0.002124, 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.002147/0.002147, 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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3896/0.3896, allocations: 32.81 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test16,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 375.3 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.102e-05, allocations: 2.312 kB / 375.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003413/0.003444, allocations: 1.634 MB / 376.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.004734, allocations: 0.5414 MB / 377.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.004802, allocations: 0 / 377.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.005265, allocations: 71.7 kB / 377.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.005595, allocations: 107.5 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.005936, allocations: 119.6 kB / 377.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.006142, allocations: 87.73 kB / 377.8 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.006239, allocations: 12 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.006339, allocations: 43.88 kB / 377.9 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.00646, allocations: 55.88 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.006481, allocations: 4 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.006584, allocations: 43.92 kB / 378 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.006644, allocations: 23.91 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.006693, allocations: 19.88 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.006916, allocations: 107.6 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006918, allocations: 4 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006919, allocations: 0 / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.006924, allocations: 0 / 378.1 MB, free: 2.141 MB / 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.0006437/0.007568, allocations: 447.6 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.00761, allocations: 8.031 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.00769, allocations: 16.84 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.007956, allocations: 149.1 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.007974, allocations: 4.375 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.008004, allocations: 4.375 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.008182, allocations: 50.23 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.008198, allocations: 4.188 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.00822, allocations: 4.125 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.00823, allocations: 4 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.008332, allocations: 19.98 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.008949, allocations: 307.7 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.009108, allocations: 47.05 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.009177, allocations: 19.62 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.009214, allocations: 7.984 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.009268, allocations: 37.33 kB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.009269, allocations: 4 kB / 379.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009965/0.01027, allocations: 205.3 kB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.01032, allocations: 55.39 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.01059, allocations: 250.4 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.01062, allocations: 29.7 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01074, allocations: 154.9 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.01079, allocations: 31.75 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.01085, allocations: 27.38 kB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003133/0.01116, allocations: 0.5078 MB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.01123, allocations: 16 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.01129, allocations: 19.98 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.01144, allocations: 55.89 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01144, allocations: 0 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002218/0.01166, allocations: 97.52 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01168, allocations: 4 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01168, allocations: 0 / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.0117, allocations: 8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01181, allocations: 15.98 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01181, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.01184, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.01185, allocations: 4 kB / 380.7 MB, free: 15.36 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.0001466/0.012, allocations: 168.5 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.01204, allocations: 15.91 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.01236, allocations: 111 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.01237, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01237, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01237, allocations: 0 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.01302, allocations: 405 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01303, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.0131, allocations: 19.98 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.0131, allocations: 3.938 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.01311, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01312, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.01312, allocations: 4 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.01346, allocations: 263.4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.01348, allocations: 11.94 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.0135, allocations: 4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.01356, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01361, allocations: 11.92 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01362, allocations: 8 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.01377, allocations: 172.2 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01377, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.01403, allocations: 23.94 kB / 381.9 MB, free: 14.07 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.003448/0.01748, allocations: 0.4914 MB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.01773, allocations: 59.66 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01773, allocations: 3.938 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.01783, allocations: 51.59 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.01818, allocations: 19.92 kB / 382.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.01882, allocations: 241.8 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.01894, allocations: 96.8 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.01901, allocations: 20.78 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.01905, allocations: 12.5 kB / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01905, allocations: 0 / 382.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005187/0.02424, allocations: 1.405 MB / 384.3 MB, free: 11.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0615780899534]