Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001357/0.001357, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001581/0.001581, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.389/1.389, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] 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.2099/0.2099, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.747e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002775/0.002803, allocations: 1.588 MB / 441.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.004708, allocations: 1.247 MB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.004762, allocations: 3.938 kB / 442.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.004974, allocations: 31.78 kB / 443 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.005293, allocations: 83.55 kB / 443.1 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.005595, allocations: 114.2 kB / 443.2 MB, free: 5.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.005756, allocations: 71.72 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.00585, allocations: 11.98 kB / 443.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.878e-05/0.005919, allocations: 31.91 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.006023, allocations: 27.91 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.006044, allocations: 4 kB / 443.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.006213, allocations: 95.75 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.006264, allocations: 15.92 kB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.0063, allocations: 23.86 kB / 443.5 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.006573, allocations: 143.6 kB / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.006576, allocations: 0 / 443.6 MB, free: 4.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006577, allocations: 4 kB / 443.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.00658, allocations: 0 / 443.6 MB, free: 4.656 MB / 366.1 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.0005569/0.007137, allocations: 321.7 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.00717, allocations: 8.031 kB / 443.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.007211, allocations: 8.891 kB / 443.9 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.007403, allocations: 137.7 kB / 444.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.007413, allocations: 384 / 444.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.007436, allocations: 8.312 kB / 444.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.007622, allocations: 89.66 kB / 444.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.007635, allocations: 8.141 kB / 444.2 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.007646, allocations: 4.125 kB / 444.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.007649, allocations: 0 / 444.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.007745, allocations: 23.98 kB / 444.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.008112, allocations: 228.6 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.00832, allocations: 42.5 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.008379, allocations: 20.94 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.008398, allocations: 3.938 kB / 444.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.008422, allocations: 30.56 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.008423, allocations: 4 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000593/0.009016, allocations: 153.4 kB / 444.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.009072, allocations: 77.11 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.009231, allocations: 141.8 kB / 444.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.009249, allocations: 25.7 kB / 444.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.009313, allocations: 96.12 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.009338, allocations: 23.8 kB / 445 MB, free: 3.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.009377, allocations: 17.72 kB / 445 MB, free: 3.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.009529, allocations: 318.8 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.009602, allocations: 19.98 kB / 445.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.009707, allocations: 71.33 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.009855, allocations: 48.83 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.009859, allocations: 3.938 kB / 445.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/0.01007, allocations: 85.89 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01008, allocations: 15.94 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01009, allocations: 4 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.0101, allocations: 0 / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.01017, allocations: 11.98 kB / 445.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01018, allocations: 4 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.01022, allocations: 0 / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.01023, allocations: 8 kB / 445.6 MB, free: 2.43 MB / 366.1 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 9.752e-05/0.01033, allocations: 126.3 kB / 445.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.01038, allocations: 7.953 kB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.01065, allocations: 102.4 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01065, allocations: 4 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01066, allocations: 3.984 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01066, allocations: 0 / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.01109, allocations: 298.1 kB / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01109, allocations: 0 / 446.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.01116, allocations: 11.98 kB / 446.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.01116, allocations: 8 kB / 446.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01117, allocations: 4 kB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01117, allocations: 0 / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01117, allocations: 0 / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.01143, allocations: 183.4 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.01145, allocations: 11.95 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.01147, allocations: 7.922 kB / 446.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.01155, allocations: 4.188 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.01159, allocations: 7.984 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.0116, allocations: 8 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.0117, allocations: 113.5 kB / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0117, allocations: 0 / 446.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.01198, allocations: 43.86 kB / 446.5 MB, free: 1.434 MB / 366.1 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.001853/0.01383, allocations: 0.5276 MB / 447.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01406, allocations: 51.91 kB / 447.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01406, allocations: 4 kB / 447.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.01416, allocations: 31.91 kB / 447.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.01448, allocations: 19.05 kB / 447.2 MB, free: 1.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.01495, allocations: 172.7 kB / 447.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.394e-05/0.01504, allocations: 79.31 kB / 447.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.129e-05/0.01512, allocations: 15.97 kB / 447.4 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.01517, allocations: 16.5 kB / 447.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.01517, allocations: 4 kB / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of Templates: time 0.1713/0.1864, allocations: 1.82 MB / 449.3 MB, free: 21.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.610071148723364]