Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 191.4 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2189/0.2189, allocations: 44.91 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 67.91 kB / 495.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4033, allocations: 64.24 MB / 0.5465 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00333/0.4066, allocations: 1.737 MB / 0.5482 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.4082, allocations: 0.8956 MB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.4083, allocations: 5.312 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.4086, allocations: 33.02 kB / 0.5491 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.4088, allocations: 60.73 kB / 0.5491 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.4092, allocations: 116.2 kB / 0.5492 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.4094, allocations: 85.95 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.4095, allocations: 11.47 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.4096, allocations: 44.42 kB / 0.5494 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.4097, allocations: 33.33 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.4097, allocations: 4.125 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.4098, allocations: 42.67 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.4099, allocations: 22.31 kB / 0.5495 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.4099, allocations: 34.69 kB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.4102, allocations: 113.4 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4102, allocations: 3.938 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4102, allocations: 1.125 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.4102, allocations: 0 / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006313/0.4108, allocations: 402.4 kB / 0.55 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4109, allocations: 9.625 kB / 0.55 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.4109, allocations: 17.08 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.4113, allocations: 206.4 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.4113, allocations: 5.438 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4113, allocations: 6.906 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.4115, allocations: 53.48 kB / 0.5503 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.4115, allocations: 5.562 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4115, allocations: 3.984 kB / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4115, allocations: 0 / 0.5503 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.891e-05/0.4116, allocations: 19.14 kB / 0.5503 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.412, allocations: 277.3 kB / 0.5506 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.4122, allocations: 59.7 kB / 0.5506 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.4123, allocations: 25.25 kB / 0.5507 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.4123, allocations: 5.641 kB / 0.5507 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.4124, allocations: 63.98 kB / 0.5507 GB, free: 9.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4124, allocations: 4 kB / 0.5507 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006053/0.413, allocations: 181.4 kB / 0.5509 GB, free: 9.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4131, allocations: 52.69 kB / 0.551 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4133, allocations: 168.9 kB / 0.5511 GB, free: 9.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4133, allocations: 25.7 kB / 0.5511 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.4134, allocations: 101.8 kB / 0.5512 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4134, allocations: 22.81 kB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.4135, allocations: 24.02 kB / 0.5513 GB, free: 9.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4137, allocations: 334 kB / 0.5516 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.4137, allocations: 15.81 kB / 0.5516 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.4138, allocations: 39.73 kB / 0.5517 GB, free: 8.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.414, allocations: 62.58 kB / 0.5517 GB, free: 8.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.414, allocations: 4 kB / 0.5517 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002269/0.4142, allocations: 104.1 kB / 0.5518 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4142, allocations: 8.953 kB / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4142, allocations: 0 / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4142, allocations: 1.062 kB / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4143, allocations: 13.78 kB / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4144, allocations: 1.125 kB / 0.5518 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.4144, allocations: 13.3 kB / 0.5519 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4144, allocations: 3.562 kB / 0.5519 GB, free: 8.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000126/0.4145, allocations: 120.9 kB / 0.552 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.4146, allocations: 17.53 kB / 0.552 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.4148, allocations: 119 kB / 0.5521 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4148, allocations: 1.469 kB / 0.5521 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4148, allocations: 0 / 0.5521 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4148, allocations: 3.938 kB / 0.5521 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.4153, allocations: 389.2 kB / 0.5525 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4153, allocations: 0 / 0.5525 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.4154, allocations: 16.08 kB / 0.5525 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4154, allocations: 1.062 kB / 0.5525 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4154, allocations: 5.406 kB / 0.5525 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4154, allocations: 0.875 kB / 0.5525 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4154, allocations: 1.156 kB / 0.5525 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.4156, allocations: 203.1 kB / 0.5527 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.4157, allocations: 88.42 kB / 0.5528 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.4157, allocations: 14.05 kB / 0.5528 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.4158, allocations: 1.969 kB / 0.5528 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.4158, allocations: 7.219 kB / 0.5528 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4159, allocations: 7.234 kB / 0.5528 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.416, allocations: 129.8 kB / 0.5529 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 0.5529 GB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4163, allocations: 20.56 kB / 0.553 GB, free: 7.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00176/0.418, allocations: 471.8 kB / 0.5534 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.4183, allocations: 60.45 kB / 0.5535 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4183, allocations: 0 / 0.5535 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.4183, allocations: 28.02 kB / 0.5535 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.4188, allocations: 47.91 kB / 0.5535 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.4194, allocations: 223.9 kB / 0.5537 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4198, allocations: 0.7 MB / 0.5544 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.183e-05/0.4199, allocations: 17.28 kB / 0.5544 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.4199, allocations: 15.53 kB / 0.5545 GB, free: 6.445 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4199, allocations: 0 / 0.5545 GB, free: 6.445 MB / 398.1 MB Notification: Performance of Templates: time 0.005655/0.4256, allocations: 1.724 MB / 0.5561 GB, free: 5.566 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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: 5.352172496728599]