Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.001339/0.001339, allocations: 114 kB / 20.43 MB, free: 1.457 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.001441/0.001441, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 8 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.2462/0.2462, allocations: 46.92 MB / 360.8 MB, free: 4.168 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 75.88 kB / 0.4963 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4027, allocations: 66.08 MB / 0.5608 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003595/0.4063, allocations: 1.733 MB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.4083, allocations: 1.053 MB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.4083, allocations: 0 / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.4087, allocations: 43.75 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.409, allocations: 99.53 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.4092, allocations: 79.67 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.4094, allocations: 103.7 kB / 0.5638 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.4095, allocations: 5.828 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4097, allocations: 59.7 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.4098, allocations: 23.86 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.4098, allocations: 4 kB / 0.5639 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.4099, allocations: 43.98 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.4099, allocations: 27.84 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.41, allocations: 39.73 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.4102, allocations: 119.5 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4102, allocations: 0 / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4102, allocations: 0 / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4102, allocations: 3.938 kB / 0.5641 GB, free: 0.8125 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.0005752/0.4108, allocations: 345.6 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4108, allocations: 8.031 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.4109, allocations: 34.75 kB / 0.5645 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.4109, allocations: 12.89 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.4112, allocations: 166.9 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4112, allocations: 384 / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.4113, allocations: 8.375 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.4114, allocations: 53.8 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4114, allocations: 4 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.4115, allocations: 7.984 kB / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4115, allocations: 0 / 0.5648 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.4115, allocations: 23.98 kB / 0.5648 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.4119, allocations: 252 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4121, allocations: 54.62 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.4122, allocations: 20.84 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4122, allocations: 0 / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.4124, allocations: 67.39 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4124, allocations: 0 / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005482/0.4129, allocations: 181.3 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.413, allocations: 51.41 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.4132, allocations: 202.2 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4132, allocations: 29.7 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.4133, allocations: 116 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4133, allocations: 27.78 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.4134, allocations: 25.7 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4135, allocations: 330.8 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.4136, allocations: 12 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.4136, allocations: 37.7 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4138, allocations: 65.77 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4138, allocations: 0 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.414, allocations: 105.5 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.414, allocations: 4 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.414, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.414, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.4141, allocations: 23.94 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4141, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.4141, allocations: 7.984 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.4142, allocations: 4.031 kB / 0.5663 GB, free: 14.37 MB / 414.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.0001316/0.4143, allocations: 131.1 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.4143, allocations: 11.91 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.4146, allocations: 111 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4146, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4146, allocations: 3.938 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4146, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.415, allocations: 366.8 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.415, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.4151, allocations: 15.94 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4151, allocations: 0 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4151, allocations: 4 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4151, allocations: 7.938 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4151, allocations: 0 / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.4154, allocations: 208.3 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.4154, allocations: 11.95 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.4154, allocations: 3.938 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.4155, allocations: 7.938 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.4155, allocations: 7.922 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4155, allocations: 7.984 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.4157, allocations: 148.2 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4157, allocations: 192 / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.4159, allocations: 27.94 kB / 0.5674 GB, free: 13.22 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: 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.002219/0.4181, allocations: 1.09 MB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.4183, allocations: 59.84 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4183, allocations: 0 / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.4184, allocations: 31.86 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4188, allocations: 31.97 kB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4207, allocations: 1.657 MB / 0.5702 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4211, allocations: 0.708 MB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.4212, allocations: 21.27 kB / 0.5709 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.4212, allocations: 35.42 kB / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4213, allocations: 0 / 0.5709 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.4523, allocations: 3.617 MB / 0.5744 GB, free: 6.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.53, allocations: 5.016 kB / 0.5744 GB, free: 6.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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: 14.67540444410406]