Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001031/0.001031, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009398/0.0009398, allocations: 165 kB / 24.56 MB, free: 12 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 0.9451/0.9451, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 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.2455/0.2455, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 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.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.787e-05, allocations: 10.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003534/0.003562, allocations: 1.653 MB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.004636, allocations: 0.5415 MB / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.004709, allocations: 3.938 kB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.005053, allocations: 75.7 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.005441, allocations: 111.5 kB / 378.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.005756, allocations: 87.64 kB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.005962, allocations: 99.67 kB / 378.6 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006076, allocations: 8 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.006178, allocations: 43.89 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.006346, allocations: 51.88 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.006377, allocations: 4 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.006492, allocations: 51.91 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.006549, allocations: 19.92 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.006584, allocations: 19.92 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.006759, allocations: 83.67 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006761, allocations: 0 / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006762, allocations: 3.938 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.006767, allocations: 0 / 378.9 MB, free: 1.773 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.00039/0.007157, allocations: 439.9 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.007193, allocations: 12.03 kB / 379.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.00724, allocations: 12.84 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.0074, allocations: 153.1 kB / 379.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.007411, allocations: 4.375 kB / 379.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.007435, allocations: 8.312 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.007548, allocations: 58.94 kB / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.007558, allocations: 192 / 379.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.007568, allocations: 4.125 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.007575, allocations: 4 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.007607, allocations: 7.984 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.007874, allocations: 299.7 kB / 379.9 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.008048, allocations: 50.97 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.00807, allocations: 15.62 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.008088, allocations: 8.078 kB / 379.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.008107, allocations: 33.39 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.008109, allocations: 0 / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004936/0.008602, allocations: 161.3 kB / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.008633, allocations: 59.34 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.008762, allocations: 242.3 kB / 380.4 MB, free: 64 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.008773, allocations: 29.7 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.008836, allocations: 150.8 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.008858, allocations: 27.8 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.008892, allocations: 31.38 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.009003, allocations: 0.4961 MB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.009027, allocations: 15.98 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.009043, allocations: 4 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.00909, allocations: 39.89 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.009091, allocations: 4 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.627e-05/0.009177, allocations: 73.66 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.009189, allocations: 7.938 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009193, allocations: 0 / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.009205, allocations: 8 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.009276, allocations: 19.98 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.00928, allocations: 0 / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.009298, allocations: 4 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.009303, allocations: 0 / 381.3 MB, free: 15.12 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 6.48e-05/0.009368, allocations: 168.5 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.009387, allocations: 11.91 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.00951, allocations: 91.06 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.009513, allocations: 4 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.009516, allocations: 0 / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.009518, allocations: 4 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.009795, allocations: 373 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.009796, allocations: 0 / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.009838, allocations: 23.98 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00984, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.009847, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009849, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.009851, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.009973, allocations: 239.4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.009982, allocations: 7.953 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.009995, allocations: 8.031 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.01003, allocations: 4 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.01006, allocations: 11.86 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01006, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.01013, allocations: 171.2 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.0103, allocations: 19.98 kB / 382.4 MB, free: 13.91 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.0008756/0.01117, allocations: 439.7 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.01129, allocations: 51.59 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01129, allocations: 0 / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.01132, allocations: 31.61 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.01153, allocations: 19.94 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.01187, allocations: 233.8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.01191, allocations: 63.34 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.01194, allocations: 25.08 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.01197, allocations: 16.5 kB / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01197, allocations: 0 / 383.3 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003158/0.01513, allocations: 1.469 MB / 384.8 MB, free: 11.69 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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.0633164322935045]