Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001617/0.001617, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 214 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.2 MB / 256.7 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2418/0.2418, allocations: 46.88 MB / 359.9 MB, free: 5.023 MB / 286.1 MB [Timeout remaining time 89] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test74,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 75.88 kB / 0.4951 GB, free: 8.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4107, allocations: 65.99 MB / 0.5595 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003632/0.4143, allocations: 1.919 MB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.4165, allocations: 1.131 MB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4166, allocations: 8 kB / 0.5625 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.4172, allocations: 259.2 kB / 0.5627 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.4177, allocations: 231.2 kB / 0.563 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.4181, allocations: 123.6 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.4185, allocations: 263.3 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4186, allocations: 21.62 kB / 0.5633 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.4189, allocations: 143.5 kB / 0.5635 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.4192, allocations: 199.5 kB / 0.5637 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.4192, allocations: 12 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.4194, allocations: 67.95 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.4195, allocations: 71.64 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.4198, allocations: 95.28 kB / 0.5639 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.4202, allocations: 257.1 kB / 0.5642 GB, free: 416 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.4202, allocations: 4 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4202, allocations: 3.938 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4202, allocations: 0 / 0.5642 GB, free: 408 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001066/0.4213, allocations: 0.5987 MB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4213, allocations: 8.031 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.4214, allocations: 28.75 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.4219, allocations: 298.7 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4219, allocations: 8.375 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.422, allocations: 12.12 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.4223, allocations: 118.2 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4223, allocations: 0 / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.4223, allocations: 4 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4224, allocations: 4 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.4225, allocations: 43.95 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008735/0.4234, allocations: 492.7 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.4238, allocations: 117.2 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4239, allocations: 41.81 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.424, allocations: 4 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.4242, allocations: 120.5 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4242, allocations: 3.938 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001384/0.4256, allocations: 0.5209 MB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.4257, allocations: 77.11 kB / 0.5666 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.4264, allocations: 0.4899 MB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.4264, allocations: 33.7 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4266, allocations: 168.4 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.4266, allocations: 79.41 kB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.4267, allocations: 41.7 kB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.427, allocations: 350.8 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.4271, allocations: 55.98 kB / 0.5677 GB, free: 12.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.4273, allocations: 95.33 kB / 0.5678 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4277, allocations: 163.5 kB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4277, allocations: 3.938 kB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004308/0.4281, allocations: 237.3 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4281, allocations: 7.938 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4281, allocations: 0 / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4282, allocations: 4 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4283, allocations: 43.92 kB / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4283, allocations: 0 / 0.5683 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.4284, allocations: 11.98 kB / 0.5683 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.4284, allocations: 16.06 kB / 0.5683 GB, free: 11.87 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.0003293/0.4287, allocations: 169.8 kB / 0.5685 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.4288, allocations: 39.7 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.4294, allocations: 268.6 kB / 0.5688 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.4294, allocations: 11.92 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4294, allocations: 0 / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4294, allocations: 0 / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4304, allocations: 0.735 MB / 0.5695 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4304, allocations: 0 / 0.5695 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.4305, allocations: 35.92 kB / 0.5695 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4305, allocations: 4 kB / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4305, allocations: 4 kB / 0.5695 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4305, allocations: 12.11 kB / 0.5695 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4305, allocations: 0 / 0.5695 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.4311, allocations: 429.2 kB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.4313, allocations: 108.9 kB / 0.5701 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.4313, allocations: 4 kB / 0.5701 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4315, allocations: 8 kB / 0.5701 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.84e-05/0.4315, allocations: 31.89 kB / 0.5701 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4316, allocations: 8 kB / 0.5701 GB, free: 9.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003999/0.432, allocations: 371.1 kB / 0.5705 GB, free: 9.531 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.432, allocations: 0 / 0.5705 GB, free: 9.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003743/0.4323, allocations: 59.92 kB / 0.5705 GB, free: 9.473 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 (22): * Single equations (assignments): 18 * 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.002014/0.4344, allocations: 0.5052 MB / 0.571 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.4347, allocations: 144 kB / 0.5711 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4348, allocations: 0 / 0.5711 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4349, allocations: 76.22 kB / 0.5712 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.4355, allocations: 73.03 kB / 0.5713 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4366, allocations: 0.6461 MB / 0.5719 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.4372, allocations: 0.783 MB / 0.5727 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.4373, allocations: 35.42 kB / 0.5727 GB, free: 7.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4373, allocations: 3.938 kB / 0.5727 GB, free: 7.316 MB / 414.1 MB Notification: Performance of Templates: time 0.007249/0.4445, allocations: 3.885 MB / 0.5765 GB, free: 3.449 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches