Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001572/0.001572, allocations: 106.2 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001948/0.001948, allocations: 216.1 kB / 23 MB, free: 5.578 MB / 14.72 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.687/1.687, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 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.2807/0.2807, allocations: 46.9 MB / 359.4 MB, free: 4.852 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 79.86 kB / 0.4947 GB, free: 8.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.412, allocations: 65.98 MB / 0.5591 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003363/0.4153, allocations: 1.846 MB / 0.5609 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.4181, allocations: 1.777 MB / 0.5627 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.4182, allocations: 4 kB / 0.5627 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.4185, allocations: 55.62 kB / 0.5627 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.4189, allocations: 139.4 kB / 0.5629 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.4192, allocations: 107.6 kB / 0.563 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.4195, allocations: 203.4 kB / 0.5632 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.4195, allocations: 5.688 kB / 0.5632 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.4197, allocations: 91.55 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.4199, allocations: 83.67 kB / 0.5633 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.42, allocations: 12 kB / 0.5633 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.4202, allocations: 115.9 kB / 0.5635 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.4202, allocations: 35.83 kB / 0.5635 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.4203, allocations: 67.55 kB / 0.5636 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.4207, allocations: 221.5 kB / 0.5638 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4207, allocations: 4 kB / 0.5638 GB, free: 252 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4207, allocations: 0 / 0.5638 GB, free: 252 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4207, allocations: 0 / 0.5638 GB, free: 252 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007776/0.4215, allocations: 0.5007 MB / 0.5643 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4215, allocations: 8.031 kB / 0.5643 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.4216, allocations: 16.84 kB / 0.5643 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.422, allocations: 256 kB / 0.5645 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.422, allocations: 4.375 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.4221, allocations: 8.359 kB / 0.5645 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.4223, allocations: 97.41 kB / 0.5646 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4223, allocations: 7.875 kB / 0.5646 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4223, allocations: 4 kB / 0.5646 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4223, allocations: 0 / 0.5646 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4224, allocations: 31.97 kB / 0.5647 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.4227, allocations: 222.5 kB / 0.5649 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.423, allocations: 105.2 kB / 0.565 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.4231, allocations: 41.7 kB / 0.565 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.4231, allocations: 0 / 0.565 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4234, allocations: 124.9 kB / 0.5651 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.4234, allocations: 0 / 0.5651 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004626/0.4238, allocations: 165.4 kB / 0.5653 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4239, allocations: 132.5 kB / 0.5654 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.4242, allocations: 244.9 kB / 0.5657 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.4242, allocations: 25.7 kB / 0.5657 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.4243, allocations: 120.1 kB / 0.5658 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.4244, allocations: 27.8 kB / 0.5658 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.4244, allocations: 25.72 kB / 0.5659 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4246, allocations: 334.8 kB / 0.5662 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.4247, allocations: 23.98 kB / 0.5662 GB, free: 13.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4248, allocations: 73.14 kB / 0.5663 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.425, allocations: 91.38 kB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.425, allocations: 4 kB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000282/0.4253, allocations: 138 kB / 0.5665 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4253, allocations: 4 kB / 0.5665 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4253, allocations: 64 / 0.5665 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4253, allocations: 8 kB / 0.5665 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4254, allocations: 23.98 kB / 0.5665 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4254, allocations: 64 / 0.5665 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.4255, allocations: 23.88 kB / 0.5665 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4255, allocations: 4 kB / 0.5665 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001389/0.4257, allocations: 129.8 kB / 0.5667 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4257, allocations: 27.83 kB / 0.5667 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.426, allocations: 146.6 kB / 0.5668 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4261, allocations: 0 / 0.5668 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4261, allocations: 0 / 0.5668 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4261, allocations: 0 / 0.5668 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4263, allocations: 233.5 kB / 0.5671 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.4263, allocations: 3.984 kB / 0.5671 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.4263, allocations: 11.94 kB / 0.5671 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4263, allocations: 0 / 0.5671 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4263, allocations: 0 / 0.5671 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4263, allocations: 4 kB / 0.5671 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4263, allocations: 0 / 0.5671 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4267, allocations: 177.7 kB / 0.5673 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.4267, allocations: 96.89 kB / 0.5673 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.4268, allocations: 8 kB / 0.5674 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.4268, allocations: 7.984 kB / 0.5674 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4269, allocations: 4 kB / 0.5674 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.4269, allocations: 11.98 kB / 0.5674 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.4271, allocations: 181.6 kB / 0.5675 GB, free: 11.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4271, allocations: 0 / 0.5675 GB, free: 11.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.4274, allocations: 51.92 kB / 0.5676 GB, free: 11.91 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001725/0.4291, allocations: 0.5016 MB / 0.5681 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.4294, allocations: 75.91 kB / 0.5682 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4294, allocations: 0 / 0.5682 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4295, allocations: 43.98 kB / 0.5682 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4299, allocations: 67.11 kB / 0.5683 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.4304, allocations: 291.6 kB / 0.5685 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4308, allocations: 0.7242 MB / 0.5693 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.258e-05/0.4309, allocations: 29.52 kB / 0.5693 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.4309, allocations: 27.42 kB / 0.5693 GB, free: 10.27 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4309, allocations: 0 / 0.5693 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Templates: time 0.007176/0.4381, allocations: 3.149 MB / 0.5724 GB, free: 7.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.6190876346081495]