Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001781/0.001781, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3499/0.3499, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.831e-05/4.044e-05, allocations: 2.312 kB / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003686/0.003727, allocations: 1.591 MB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.005071, allocations: 0.5214 MB / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.005141, allocations: 0 / 379.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.005409, allocations: 35.77 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.005753, allocations: 79.56 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.00607, allocations: 91.69 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.006271, allocations: 71.77 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.006385, allocations: 8 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.088e-05/0.006476, allocations: 31.91 kB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.006546, allocations: 11.92 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.006564, allocations: 4 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.006677, allocations: 31.98 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.006753, allocations: 19.92 kB / 379.7 MB, free: 376 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.006799, allocations: 7.938 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.00712, allocations: 95.64 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.007127, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007129, allocations: 0 / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.007135, allocations: 3.938 kB / 379.8 MB, free: 268 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.0007603/0.007895, allocations: 317.8 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.007938, allocations: 8.031 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.008008, allocations: 12.89 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.008239, allocations: 130.2 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.008257, allocations: 8.375 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.008284, allocations: 4.359 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.008444, allocations: 50.25 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.008456, allocations: 192 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.00847, allocations: 4.125 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.008475, allocations: 0 / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.00858, allocations: 27.92 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.008984, allocations: 228.5 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.009219, allocations: 38.66 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.009276, allocations: 16.84 kB / 380.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.009305, allocations: 11.88 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.009332, allocations: 34.56 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.009333, allocations: 0 / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006288/0.009962, allocations: 141.4 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.01001, allocations: 55.41 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.01025, allocations: 178.3 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.01027, allocations: 29.7 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.01035, allocations: 100.1 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01038, allocations: 19.84 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.01043, allocations: 21.72 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.01061, allocations: 322.8 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.01069, allocations: 11.98 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.01075, allocations: 19.98 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.0109, allocations: 48.83 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.0109, allocations: 0 / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/0.01111, allocations: 89.5 kB / 381.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01112, allocations: 4 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01113, allocations: 4 kB / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.01115, allocations: 288 / 381.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.649e-05/0.01122, allocations: 15.92 kB / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01122, allocations: 0 / 381.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.01127, allocations: 12.23 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.01128, allocations: 0 / 381.7 MB, free: 14.15 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.0001114/0.01139, allocations: 117.8 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.01143, allocations: 19.83 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.01169, allocations: 110 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01169, allocations: 0 / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.0117, allocations: 0 / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.0117, allocations: 0 / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.01214, allocations: 286.2 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01215, allocations: 0 / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.01221, allocations: 19.92 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01221, allocations: 4 kB / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.01222, allocations: 0 / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01222, allocations: 0 / 382.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.01223, allocations: 4 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.0125, allocations: 179.4 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.01251, allocations: 7.953 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.01253, allocations: 0 / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.0126, allocations: 8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.01264, allocations: 3.984 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.01264, allocations: 4 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.01278, allocations: 135.2 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01278, allocations: 0 / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.01302, allocations: 12 kB / 382.6 MB, free: 13.2 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.001953/0.01498, allocations: 433.8 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.01518, allocations: 47.95 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01518, allocations: 0 / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.01526, allocations: 27.98 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.01565, allocations: 19.92 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.0162, allocations: 216.5 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.0163, allocations: 79.31 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.226e-05/0.01634, allocations: 7.984 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.01638, allocations: 20.5 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.01638, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.004445/0.02083, allocations: 1.165 MB / 384.6 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.896068113972433]