Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001497/0.001497, allocations: 78.66 kB / 21.42 MB, free: 3.082 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.001733/0.001733, allocations: 172.9 kB / 24.82 MB, free: 8.945 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 1.156/1.156, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.3722/0.3722, allocations: 34.27 MB / 296.1 MB, free: 0.6602 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.139e-05/4.37e-05, allocations: 9.344 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003188/0.003232, allocations: 1.685 MB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.00448, allocations: 0.5646 MB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004594, allocations: 4 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.005324, allocations: 455 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.005882, allocations: 291.2 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.006357, allocations: 171.5 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.006642, allocations: 179.6 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.006768, allocations: 15.98 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.006949, allocations: 119.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.007224, allocations: 247.6 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.007246, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.007353, allocations: 39.92 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.007455, allocations: 83.7 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.007504, allocations: 43.67 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.007784, allocations: 203.1 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.007789, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00779, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.007797, allocations: 0 / 382.6 MB, free: 14.27 MB / 362.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.0007122/0.008509, allocations: 0.697 MB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.008555, allocations: 12.03 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.008625, allocations: 44.66 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.008856, allocations: 244.9 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.008869, allocations: 4.375 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.008887, allocations: 8.312 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.009007, allocations: 62.88 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.009018, allocations: 192 / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.009028, allocations: 8.125 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.009035, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.009063, allocations: 11.97 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.009496, allocations: 336.3 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.009697, allocations: 46.98 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.009719, allocations: 7.688 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.009754, allocations: 7.938 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.009784, allocations: 33.48 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.185e-06/0.009786, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004315/0.01022, allocations: 129.2 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.01026, allocations: 51.41 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/0.0112, allocations: 0.6079 MB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01122, allocations: 29.7 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.01145, allocations: 298.7 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.0115, allocations: 19.8 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.01155, allocations: 27.36 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.01179, allocations: 0.5547 MB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.01182, allocations: 4 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.818e-05/0.01183, allocations: 4 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.01189, allocations: 31.59 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01189, allocations: 0 / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001402/0.01203, allocations: 93.55 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.01205, allocations: 11.98 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.01206, allocations: 3.984 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01208, allocations: 4 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.01215, allocations: 8 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01216, allocations: 0 / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.01219, allocations: 4 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.0122, allocations: 3.984 kB / 386 MB, free: 10.68 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.000108/0.01231, allocations: 164.5 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.01236, allocations: 43.66 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.01255, allocations: 93.23 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.01255, allocations: 0 / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01255, allocations: 7.938 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01256, allocations: 0 / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.01297, allocations: 389.8 kB / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01297, allocations: 0 / 386.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.01303, allocations: 11.98 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01303, allocations: 0 / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.01304, allocations: 4 kB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01304, allocations: 0 / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.01305, allocations: 0 / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.01323, allocations: 239.6 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.01326, allocations: 35.67 kB / 386.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01328, allocations: 4.25 kB / 386.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.01335, allocations: 11.94 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.01338, allocations: 7.984 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01339, allocations: 4 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002867/0.01367, allocations: 394.7 kB / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01367, allocations: 0 / 387.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.01391, allocations: 20 kB / 387.4 MB, free: 9.211 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.001118/0.01503, allocations: 393.6 kB / 387.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.01513, allocations: 23.67 kB / 387.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01513, allocations: 0 / 387.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.01516, allocations: 19.62 kB / 387.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.01549, allocations: 29.89 kB / 387.8 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.01634, allocations: 0.5888 MB / 388.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.01644, allocations: 119.2 kB / 388.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.01649, allocations: 11.98 kB / 388.5 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.517e-05/0.01656, allocations: 78.19 kB / 388.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01657, allocations: 0 / 388.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of Templates: time 0.004871/0.02144, allocations: 1.511 MB / 390.1 MB, free: 6.539 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.5526930461637676]