Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001965/0.001965, 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.002006/0.002006, allocations: 169.3 kB / 24.28 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.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.4017/0.4017, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.609e-06/4.609e-06, allocations: 3.984 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.521e-05/3.982e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.00328/0.00332, allocations: 1.595 MB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004498, allocations: 0.5376 MB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.004557, allocations: 8 kB / 379.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.004757, allocations: 23.78 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.005041, allocations: 79.56 kB / 379.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.005369, allocations: 103.7 kB / 379.7 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.005557, allocations: 75.75 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.005656, allocations: 8 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.005741, allocations: 31.91 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.005804, allocations: 11.92 kB / 379.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.005826, allocations: 8 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.634e-05/0.005922, allocations: 35.92 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.005982, allocations: 15.92 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.006021, allocations: 7.938 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.006232, allocations: 87.66 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.006237, allocations: 0 / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006239, allocations: 0 / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.006245, allocations: 0 / 379.9 MB, free: 320 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.0005797/0.006825, allocations: 411.8 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.006862, allocations: 8.031 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.006911, allocations: 12.89 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.007236, allocations: 142.3 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.007247, allocations: 4.375 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.007267, allocations: 4.375 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.007393, allocations: 42.25 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.007406, allocations: 4.125 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007417, allocations: 4.125 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.00742, allocations: 0 / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.0075, allocations: 19.98 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000401/0.007901, allocations: 279.8 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.008119, allocations: 54.98 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.008166, allocations: 15.69 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.008185, allocations: 7.875 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.008218, allocations: 37.39 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.008219, allocations: 0 / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000523/0.008742, allocations: 133.4 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.008786, allocations: 51.41 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.008993, allocations: 209.9 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.009011, allocations: 29.7 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.009122, allocations: 142.9 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.009149, allocations: 15.89 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.009199, allocations: 23.38 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002682/0.009467, allocations: 0.4962 MB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.009522, allocations: 8 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.694e-05/0.009569, allocations: 15.98 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.009682, allocations: 43.86 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.009683, allocations: 0 / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/0.009854, allocations: 81.52 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.009875, allocations: 7.984 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.00988, allocations: 0 / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.009895, allocations: 4 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.009953, allocations: 8 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.009958, allocations: 0 / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.009996, allocations: 11.89 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.01, allocations: 3.984 kB / 382.2 MB, free: 13.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 (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 0.0001287/0.01013, allocations: 160.6 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.01017, allocations: 11.89 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.0104, allocations: 90.34 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01041, allocations: 0 / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01041, allocations: 3.984 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01042, allocations: 3.984 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.01088, allocations: 341.4 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01088, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.01093, allocations: 11.94 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.01093, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.01094, allocations: 3.984 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01094, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01094, allocations: 7.938 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.01121, allocations: 224 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.01123, allocations: 11.94 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.01125, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.0113, allocations: 0 / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.01134, allocations: 4 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.01134, allocations: 3.984 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.01146, allocations: 157.8 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01147, allocations: 0 / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.01169, allocations: 16 kB / 383.3 MB, free: 12.7 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.002743/0.01443, allocations: 431.9 kB / 383.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.01463, allocations: 51.66 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01463, allocations: 0 / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.01471, allocations: 31.67 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.01501, allocations: 30.2 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.01552, allocations: 190.5 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.01562, allocations: 75.33 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.212e-05/0.01567, allocations: 15.92 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01572, allocations: 16.48 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01572, allocations: 0 / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of Templates: time 0.004607/0.02032, allocations: 1.165 MB / 385.2 MB, free: 10.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.878777845064178]