Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001672/0.001672, allocations: 107.1 kB / 19.8 MB, free: 2.5 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.001607/0.001607, allocations: 192.9 kB / 22.98 MB, free: 5.59 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.559/1.559, 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.232/0.232, allocations: 44.92 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 495.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4103, allocations: 64.25 MB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003517/0.4139, allocations: 1.733 MB / 0.5482 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.4164, allocations: 1.556 MB / 0.5497 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.447e-05/0.4165, allocations: 1.438 kB / 0.5497 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.4168, allocations: 41.36 kB / 0.5497 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.4171, allocations: 57.44 kB / 0.5498 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.4174, allocations: 115.9 kB / 0.5499 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.4176, allocations: 94.62 kB / 0.55 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4177, allocations: 12.02 kB / 0.55 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4178, allocations: 51.48 kB / 0.55 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.418, allocations: 37.66 kB / 0.5501 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.418, allocations: 4.594 kB / 0.5501 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.4182, allocations: 59.97 kB / 0.5501 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.4182, allocations: 16.2 kB / 0.5502 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.4183, allocations: 35.66 kB / 0.5502 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4185, allocations: 126.5 kB / 0.5503 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4185, allocations: 0 / 0.5503 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4185, allocations: 0 / 0.5503 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.4185, allocations: 0 / 0.5503 GB, free: 10.21 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.000687/0.4192, allocations: 414.4 kB / 0.5507 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4193, allocations: 9.625 kB / 0.5507 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4193, allocations: 13.05 kB / 0.5507 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4196, allocations: 197.3 kB / 0.5509 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4197, allocations: 5.812 kB / 0.5509 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.4197, allocations: 6.875 kB / 0.5509 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.4199, allocations: 74.39 kB / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4199, allocations: 0 / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4199, allocations: 0 / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.4199, allocations: 1.406 kB / 0.551 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.42, allocations: 18.83 kB / 0.551 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.4204, allocations: 279.3 kB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.4206, allocations: 60.08 kB / 0.5513 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.4206, allocations: 17.02 kB / 0.5514 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.4206, allocations: 9.328 kB / 0.5514 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4208, allocations: 64.66 kB / 0.5514 GB, free: 9.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.4208, allocations: 1.281 kB / 0.5514 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.4214, allocations: 176.1 kB / 0.5516 GB, free: 8.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.4214, allocations: 86.16 kB / 0.5517 GB, free: 8.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4216, allocations: 147.4 kB / 0.5518 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.4216, allocations: 30.98 kB / 0.5518 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.4217, allocations: 99.94 kB / 0.5519 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.4217, allocations: 23.86 kB / 0.552 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.4218, allocations: 24.89 kB / 0.552 GB, free: 8.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.422, allocations: 325.5 kB / 0.5523 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.422, allocations: 18.28 kB / 0.5523 GB, free: 8.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.4221, allocations: 48.97 kB / 0.5524 GB, free: 8.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4222, allocations: 59.86 kB / 0.5524 GB, free: 8.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4222, allocations: 0 / 0.5524 GB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.4224, allocations: 99.47 kB / 0.5525 GB, free: 8.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4224, allocations: 12.11 kB / 0.5525 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4224, allocations: 0 / 0.5525 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4224, allocations: 4.906 kB / 0.5525 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4226, allocations: 17.53 kB / 0.5525 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4226, allocations: 1.156 kB / 0.5525 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.4226, allocations: 10.44 kB / 0.5526 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4226, allocations: 10.42 kB / 0.5526 GB, free: 8.027 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.0001235/0.4227, allocations: 120.5 kB / 0.5527 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.4228, allocations: 12.38 kB / 0.5527 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.423, allocations: 109.5 kB / 0.5528 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.423, allocations: 5.094 kB / 0.5528 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.423, allocations: 1.312 kB / 0.5528 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.423, allocations: 3.938 kB / 0.5528 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.4235, allocations: 387.5 kB / 0.5532 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4235, allocations: 0 / 0.5532 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.4235, allocations: 11.23 kB / 0.5532 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4236, allocations: 1.469 kB / 0.5532 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4236, allocations: 9.344 kB / 0.5532 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4236, allocations: 9.5 kB / 0.5532 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4236, allocations: 0 / 0.5532 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.4238, allocations: 192.3 kB / 0.5534 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.4239, allocations: 83.31 kB / 0.5535 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.4239, allocations: 14.73 kB / 0.5535 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.424, allocations: 2.312 kB / 0.5535 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.424, allocations: 7.156 kB / 0.5535 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.424, allocations: 7.359 kB / 0.5535 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.4242, allocations: 120.5 kB / 0.5536 GB, free: 7.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 192 / 0.5536 GB, free: 7.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.4244, allocations: 32.89 kB / 0.5536 GB, free: 7.031 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.001774/0.4262, allocations: 0.4947 MB / 0.5541 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4264, allocations: 52.56 kB / 0.5542 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4264, allocations: 0 / 0.5542 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.4265, allocations: 35.89 kB / 0.5542 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.4268, allocations: 34.41 kB / 0.5543 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.4273, allocations: 212.8 kB / 0.5545 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.4276, allocations: 0.6929 MB / 0.5551 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.435e-05/0.4277, allocations: 19.5 kB / 0.5551 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.4277, allocations: 24.64 kB / 0.5552 GB, free: 5.832 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4277, allocations: 0 / 0.5552 GB, free: 5.832 MB / 398.1 MB Notification: Performance of Templates: time 0.005122/0.4329, allocations: 1.98 MB / 0.5571 GB, free: 4.715 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.557058903388679]