Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.002304/0.002304, 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.002032/0.002032, 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.583/1.583, 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.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.3635/0.3635, allocations: 34.27 MB / 295.3 MB, free: 0.6758 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.CombiTable1Ds.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.717e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003188/0.003216, allocations: 1.654 MB / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.004617, allocations: 0.5375 MB / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.004674, allocations: 4 kB / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.004982, allocations: 95.67 kB / 379.6 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.00529, allocations: 115.5 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.005558, allocations: 95.62 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.005756, allocations: 99.73 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.005855, allocations: 23.98 kB / 379.9 MB, free: 324 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.959e-05/0.005955, allocations: 55.81 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.006065, allocations: 55.86 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.00609, allocations: 12 kB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.006194, allocations: 43.92 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.006256, allocations: 35.84 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.006296, allocations: 15.94 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.006535, allocations: 123.5 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.006538, allocations: 0 / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006539, allocations: 0 / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006544, allocations: 4 kB / 380.3 MB, free: 15.98 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000603/0.007147, allocations: 471.4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.007181, allocations: 8.031 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.007244, allocations: 24.83 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.007457, allocations: 152.4 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.007469, allocations: 4.375 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.007494, allocations: 8.375 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.007672, allocations: 70.09 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.007685, allocations: 192 / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.007701, allocations: 12.12 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.007705, allocations: 0 / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007814, allocations: 31.97 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.008306, allocations: 343.6 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.008454, allocations: 74.92 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.008513, allocations: 23.67 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.008537, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.008591, allocations: 41.39 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.008592, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001014/0.009606, allocations: 285.6 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.009656, allocations: 59.41 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.009915, allocations: 258.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.009935, allocations: 29.7 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.01005, allocations: 162.8 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.01011, allocations: 55.72 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.01017, allocations: 31.38 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002766/0.01045, allocations: 0.5158 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.976e-05/0.01055, allocations: 31.92 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.01062, allocations: 31.98 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.01081, allocations: 91.17 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01081, allocations: 8 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002639/0.01107, allocations: 137.5 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01109, allocations: 4 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01109, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01111, allocations: 0 / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01123, allocations: 27.98 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01124, allocations: 0 / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.01127, allocations: 4 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01129, allocations: 7.938 kB / 383.2 MB, free: 12.82 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 (13): * Single equations (assignments): 13 * 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.0001501/0.01144, allocations: 172.5 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.01149, allocations: 15.91 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.01184, allocations: 155 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.01184, allocations: 4 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01185, allocations: 0 / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01185, allocations: 0 / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.01256, allocations: 488.8 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01256, allocations: 0 / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.01265, allocations: 28.02 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01265, allocations: 0 / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01267, allocations: 7.938 kB / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01267, allocations: 0 / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01267, allocations: 0 / 384.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.01303, allocations: 299.4 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01305, allocations: 7.953 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01307, allocations: 7.938 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.01314, allocations: 4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.01318, allocations: 7.984 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.0132, allocations: 15.98 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.01337, allocations: 185.1 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01337, allocations: 0 / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002572/0.01363, allocations: 35.89 kB / 384.6 MB, free: 11.33 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 (13): * Single equations (assignments): 13 * 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.003253/0.01689, allocations: 0.4905 MB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.01717, allocations: 99.58 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01717, allocations: 0 / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01731, allocations: 59.59 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.01763, allocations: 19.98 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.01825, allocations: 296.8 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.01837, allocations: 105.2 kB / 385.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.867e-05/0.01843, allocations: 20.47 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.01848, allocations: 16.5 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01848, allocations: 0 / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005351/0.02383, allocations: 1.559 MB / 387.3 MB, free: 8.844 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.8513315570307896]