Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2446/0.2446, allocations: 46.96 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.91 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4157, allocations: 66.04 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00367/0.4194, allocations: 1.873 MB / 0.5637 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.4215, allocations: 1.077 MB / 0.5648 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4216, allocations: 4 kB / 0.5648 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.4221, allocations: 223.3 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.4226, allocations: 227.2 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.4229, allocations: 115.7 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.4234, allocations: 259.2 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.4235, allocations: 21.95 kB / 0.5656 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.4238, allocations: 127.5 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.424, allocations: 171.5 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.4241, allocations: 8 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.4243, allocations: 63.97 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.4244, allocations: 67.7 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4245, allocations: 59.48 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.425, allocations: 257.1 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.425, allocations: 4 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.425, allocations: 0 / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.587e-06/0.425, allocations: 0 / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001126/0.4261, allocations: 0.5003 MB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.4262, allocations: 8.031 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.4263, allocations: 32.75 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005835/0.4269, allocations: 226.4 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.4269, allocations: 384 / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.4269, allocations: 20.11 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.4273, allocations: 111.3 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.4273, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.4273, allocations: 4 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4273, allocations: 0 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.4275, allocations: 55.89 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.4284, allocations: 416.4 kB / 0.5676 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.4289, allocations: 121.2 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.429, allocations: 49.81 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.429, allocations: 4 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/0.4294, allocations: 120.8 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.4294, allocations: 0 / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001569/0.4309, allocations: 0.5165 MB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.431, allocations: 81.09 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.4316, allocations: 460.5 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4317, allocations: 37.64 kB / 0.569 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4318, allocations: 164.5 kB / 0.5691 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.4319, allocations: 75.42 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.4319, allocations: 41.7 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4321, allocations: 346.8 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4323, allocations: 59.97 kB / 0.5696 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.4324, allocations: 87.41 kB / 0.5697 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.4327, allocations: 171.3 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4327, allocations: 0 / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004355/0.4331, allocations: 237.3 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4332, allocations: 4 kB / 0.5701 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4332, allocations: 7.938 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4332, allocations: 4 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4333, allocations: 47.91 kB / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.4333, allocations: 0 / 0.5702 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.4334, allocations: 11.95 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.4334, allocations: 12.06 kB / 0.5702 GB, free: 11.39 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001923/0.4336, allocations: 166.3 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.4337, allocations: 35.81 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006596/0.4344, allocations: 289.4 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4344, allocations: 4 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4344, allocations: 0 / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4344, allocations: 0 / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.4356, allocations: 0.6956 MB / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4356, allocations: 0 / 0.5713 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.4357, allocations: 31.98 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4357, allocations: 4 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.4358, allocations: 8 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4358, allocations: 3.938 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4358, allocations: 4 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005613/0.4363, allocations: 439.4 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.4364, allocations: 31.75 kB / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.4364, allocations: 12.12 kB / 0.5718 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.4366, allocations: 11.94 kB / 0.5719 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.4366, allocations: 23.91 kB / 0.5719 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.4366, allocations: 15.98 kB / 0.5719 GB, free: 9.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003547/0.437, allocations: 339 kB / 0.5722 GB, free: 9.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.437, allocations: 0 / 0.5722 GB, free: 9.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.4374, allocations: 47.92 kB / 0.5723 GB, free: 9.164 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002147/0.4395, allocations: 0.5523 MB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004078/0.4399, allocations: 155.8 kB / 0.5729 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4399, allocations: 0 / 0.5729 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4401, allocations: 83.83 kB / 0.573 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.4407, allocations: 64.17 kB / 0.5731 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.4417, allocations: 0.5705 MB / 0.5736 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4419, allocations: 174.5 kB / 0.5738 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.442, allocations: 42.23 kB / 0.5739 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.4421, allocations: 35.42 kB / 0.5739 GB, free: 7.684 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4421, allocations: 0 / 0.5739 GB, free: 7.684 MB / 414.1 MB Notification: Performance of Templates: time 0.008079/0.4502, allocations: 3.59 MB / 0.5774 GB, free: 4.145 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.306769934002659]