Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001442/0.001442, 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.001553/0.001553, 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.567/1.567, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2889/0.2889, allocations: 44.91 MB / 351.6 MB, free: 12.23 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 495.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4966, allocations: 64.25 MB / 0.5465 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003814/0.5004, allocations: 1.732 MB / 0.5482 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.502, allocations: 0.8962 MB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.5021, allocations: 1.188 kB / 0.549 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.5024, allocations: 48.25 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.5027, allocations: 49.45 kB / 0.5491 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.503, allocations: 119.7 kB / 0.5492 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.5032, allocations: 93.98 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5033, allocations: 7.625 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5034, allocations: 40.64 kB / 0.5494 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.5035, allocations: 33.98 kB / 0.5494 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.5035, allocations: 7 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.5036, allocations: 38.69 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.5037, allocations: 31.14 kB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.5038, allocations: 35.78 kB / 0.5495 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.504, allocations: 116.7 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.504, allocations: 3.938 kB / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.504, allocations: 0 / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.504, allocations: 0 / 0.5496 GB, free: 10.76 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.0006494/0.5047, allocations: 416.4 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5047, allocations: 9.531 kB / 0.55 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.5048, allocations: 14.52 kB / 0.5501 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.5051, allocations: 216.1 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.5051, allocations: 5.531 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.5052, allocations: 7 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5053, allocations: 53.86 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5053, allocations: 0 / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5053, allocations: 1.281 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5054, allocations: 0 / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.5054, allocations: 19.08 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.5059, allocations: 291.2 kB / 0.5506 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.5061, allocations: 55.36 kB / 0.5507 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.5061, allocations: 17.11 kB / 0.5507 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.5062, allocations: 1.219 kB / 0.5507 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.5063, allocations: 73.41 kB / 0.5508 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5063, allocations: 0 / 0.5508 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.5069, allocations: 178.3 kB / 0.5509 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.507, allocations: 56.91 kB / 0.551 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.5072, allocations: 192.5 kB / 0.5512 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.5072, allocations: 33.69 kB / 0.5512 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.5073, allocations: 98.02 kB / 0.5513 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.5073, allocations: 28.34 kB / 0.5513 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.5074, allocations: 23.78 kB / 0.5513 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5076, allocations: 333.9 kB / 0.5517 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.5076, allocations: 18.8 kB / 0.5517 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.5077, allocations: 40.33 kB / 0.5517 GB, free: 8.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.5078, allocations: 66.31 kB / 0.5518 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5078, allocations: 1.281 kB / 0.5518 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.508, allocations: 102.3 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5081, allocations: 5.688 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5081, allocations: 1.625 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5081, allocations: 1.344 kB / 0.5519 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.5082, allocations: 16.67 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.5082, allocations: 5.188 kB / 0.5519 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.5082, allocations: 10.16 kB / 0.5519 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.5082, allocations: 6.25 kB / 0.5519 GB, free: 8.594 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.0001352/0.5084, allocations: 136.3 kB / 0.5521 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.5084, allocations: 12.75 kB / 0.5521 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.5087, allocations: 108.8 kB / 0.5522 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5087, allocations: 1.469 kB / 0.5522 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5087, allocations: 0 / 0.5522 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.5087, allocations: 3.938 kB / 0.5522 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.5092, allocations: 394.1 kB / 0.5526 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5092, allocations: 1.219 kB / 0.5526 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.5092, allocations: 15.27 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5092, allocations: 1.062 kB / 0.5526 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.5092, allocations: 10.34 kB / 0.5526 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5092, allocations: 0 / 0.5526 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5092, allocations: 1.062 kB / 0.5526 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.5095, allocations: 204.1 kB / 0.5528 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.5096, allocations: 93.38 kB / 0.5529 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.5096, allocations: 4.938 kB / 0.5529 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.5097, allocations: 6.203 kB / 0.5529 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.5097, allocations: 3.344 kB / 0.5529 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.5098, allocations: 3.094 kB / 0.5529 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.5099, allocations: 159.8 kB / 0.553 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5099, allocations: 0 / 0.553 GB, free: 7.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.5103, allocations: 24.39 kB / 0.5531 GB, free: 7.57 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.001812/0.5121, allocations: 469.1 kB / 0.5535 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.5123, allocations: 59.98 kB / 0.5536 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5123, allocations: 5.281 kB / 0.5536 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.5124, allocations: 19.06 kB / 0.5536 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.5128, allocations: 32.3 kB / 0.5536 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.5134, allocations: 245.2 kB / 0.5538 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.5138, allocations: 0.7166 MB / 0.5545 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.26e-05/0.5138, allocations: 14.92 kB / 0.5546 GB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.5139, allocations: 22.98 kB / 0.5546 GB, free: 6.367 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5139, allocations: 0 / 0.5546 GB, free: 6.367 MB / 398.1 MB Notification: Performance of Templates: time 0.005664/0.5195, allocations: 1.739 MB / 0.5563 GB, free: 5.484 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.77489389013499]