Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.002439/0.002439, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002853/0.002853, allocations: 161.3 kB / 24.27 MB, free: 152 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.648/1.648, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.4245/0.4245, allocations: 32.81 MB / 293.9 MB, free: 1.195 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.492e-05, allocations: 6.25 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003299/0.003334, allocations: 1.622 MB / 376.9 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.005552, allocations: 1.266 MB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.005606, allocations: 4 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.005853, allocations: 35.72 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.006179, allocations: 83.55 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.00651, allocations: 107.7 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.006688, allocations: 83.7 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.006791, allocations: 19.98 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.00688, allocations: 39.91 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.00701, allocations: 31.89 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.007032, allocations: 12 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.007221, allocations: 91.81 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.007273, allocations: 15.94 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.007316, allocations: 19.91 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.007627, allocations: 159.5 kB / 378.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007631, allocations: 0 / 378.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.007631, allocations: 0 / 378.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.007636, allocations: 0 / 378.9 MB, free: 1.367 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006905/0.008327, allocations: 443.5 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.008371, allocations: 8.031 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.008437, allocations: 20.88 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.008681, allocations: 146.4 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.008694, allocations: 8.312 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.008717, allocations: 384 / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.008944, allocations: 111.2 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.008962, allocations: 4.172 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.008975, allocations: 4.125 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.008979, allocations: 0 / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.009082, allocations: 23.98 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.0096, allocations: 303.7 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.009751, allocations: 62.98 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.009821, allocations: 27.8 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.00985, allocations: 0 / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.009894, allocations: 37.39 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.125e-06/0.009897, allocations: 3.984 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007164/0.01061, allocations: 161.5 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.01069, allocations: 81.05 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.01092, allocations: 217.9 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01094, allocations: 29.7 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01104, allocations: 146.8 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.01108, allocations: 27.75 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.01114, allocations: 35.36 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002851/0.01143, allocations: 0.4922 MB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.0115, allocations: 19.98 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.01161, allocations: 65.06 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.01176, allocations: 56.05 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01176, allocations: 0 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002203/0.01198, allocations: 97.58 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01199, allocations: 6.344 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.012, allocations: 4.312 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.01201, allocations: 0 / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.01213, allocations: 23.98 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01214, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.128e-05/0.01218, allocations: 0 / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.0122, allocations: 11.97 kB / 381.5 MB, free: 14.5 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.0001301/0.01233, allocations: 164.5 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.01237, allocations: 7.953 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.01266, allocations: 114.3 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01266, allocations: 0 / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.01266, allocations: 4 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01267, allocations: 0 / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.01323, allocations: 381.3 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01323, allocations: 0 / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.0133, allocations: 19.92 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.0133, allocations: 0 / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01332, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01332, allocations: 4 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01332, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.01364, allocations: 239.8 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.01366, allocations: 11.94 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01368, allocations: 0 / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.01375, allocations: 4 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.01379, allocations: 11.98 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.0138, allocations: 0 / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.01395, allocations: 167 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01395, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000306/0.01425, allocations: 47.88 kB / 382.6 MB, free: 13.26 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 (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.003438/0.01769, allocations: 0.526 MB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.01795, allocations: 59.66 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01795, allocations: 0 / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01806, allocations: 43.61 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.01838, allocations: 23.27 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.01892, allocations: 202.3 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.01901, allocations: 83.31 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.623e-05/0.0191, allocations: 25.02 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.01915, allocations: 20.48 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01916, allocations: 0 / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of Templates: time 0.006034/0.02519, allocations: 1.93 MB / 385.5 MB, free: 10.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.024389174999669]