Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001048/0.001048, 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.001297/0.001297, 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 0.9868/0.9868, allocations: 177.1 MB / 205.3 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.2526/0.2526, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.995e-05, allocations: 5.688 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002237/0.002266, allocations: 1.642 MB / 379.7 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000723/0.002989, allocations: 0.5336 MB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.141e-05/0.003051, allocations: 4 kB / 380.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.003261, allocations: 23.8 kB / 380.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.003538, allocations: 79.61 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.003818, allocations: 115.5 kB / 380.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.003964, allocations: 67.78 kB / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.004062, allocations: 19.92 kB / 380.5 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.00412, allocations: 31.91 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.004173, allocations: 11.98 kB / 380.6 MB, free: 444 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.004186, allocations: 0 / 380.6 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.004259, allocations: 31.98 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.004304, allocations: 15.94 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.004336, allocations: 15.91 kB / 380.6 MB, free: 380 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.00448, allocations: 67.75 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004483, allocations: 0 / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004484, allocations: 0 / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.004489, allocations: 0 / 380.7 MB, free: 312 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004123/0.004901, allocations: 428 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.004936, allocations: 8.031 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.004982, allocations: 12.89 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.005127, allocations: 143 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005138, allocations: 4.375 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.005157, allocations: 384 / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.005271, allocations: 54.95 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.00528, allocations: 192 / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005291, allocations: 4.125 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.005299, allocations: 0 / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.00533, allocations: 15.92 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.005629, allocations: 275.8 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.005786, allocations: 43.05 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.005808, allocations: 11.69 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.005826, allocations: 3.938 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.005847, allocations: 37.33 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005848, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003391/0.006187, allocations: 117.5 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.006219, allocations: 51.41 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006332, allocations: 200.9 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.006343, allocations: 33.7 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.006401, allocations: 150.8 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.006421, allocations: 7.906 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.006459, allocations: 27.36 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.006566, allocations: 0.4922 MB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.006588, allocations: 7.984 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.006602, allocations: 8 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.006639, allocations: 23.69 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.00664, allocations: 3.938 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.833e-05/0.006718, allocations: 65.53 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006731, allocations: 8 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006735, allocations: 0 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.00675, allocations: 0 / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.006798, allocations: 11.98 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.006804, allocations: 4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.006822, allocations: 4 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.006828, allocations: 4 kB / 382.9 MB, free: 13.88 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 (5): * Single equations (assignments): 5 * 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 6.411e-05/0.006892, allocations: 156.5 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.006911, allocations: 7.953 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.007029, allocations: 78.06 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007031, allocations: 4 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.007034, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.007036, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.007261, allocations: 325.7 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007263, allocations: 0 / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.007295, allocations: 16.05 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007298, allocations: 4 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.007304, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007305, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.007307, allocations: 3.938 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.007413, allocations: 207.8 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.007422, allocations: 11.95 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.007434, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/0.007465, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.007495, allocations: 7.984 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007499, allocations: 4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.073e-05/0.00756, allocations: 155.1 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00756, allocations: 0 / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.007721, allocations: 15.94 kB / 383.9 MB, free: 12.82 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 (5): * Single equations (assignments): 5 * 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.0007838/0.008505, allocations: 382.3 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.008607, allocations: 35.61 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008608, allocations: 0 / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.008631, allocations: 19.69 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.008848, allocations: 27.34 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.009167, allocations: 190.5 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.009213, allocations: 63.34 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.009248, allocations: 15.92 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.009275, allocations: 12.5 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.009277, allocations: 0 / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.002996/0.01227, allocations: 1.17 MB / 385.8 MB, free: 11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.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.097133212024346]