Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001791/0.001791, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002066/0.002066, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2551/0.2551, allocations: 46.93 MB / 360.8 MB, free: 4.18 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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 75.88 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4248, allocations: 66.09 MB / 0.5608 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.005068/0.4298, allocations: 1.733 MB / 0.5625 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.4327, allocations: 1.049 MB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.4328, allocations: 7.875 kB / 0.5635 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.4332, allocations: 35.84 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.4336, allocations: 95.53 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.434, allocations: 83.66 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.4344, allocations: 103.8 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.4345, allocations: 5.828 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.4347, allocations: 43.73 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4348, allocations: 47.77 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4349, allocations: 4 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.435, allocations: 39.98 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.4351, allocations: 19.91 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.774e-05/0.4352, allocations: 31.75 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.4356, allocations: 115.5 kB / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4356, allocations: 0 / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4356, allocations: 0 / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4356, allocations: 0 / 0.5641 GB, free: 0.8281 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.0008343/0.4364, allocations: 345.6 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.4365, allocations: 12.03 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/0.4365, allocations: 34.75 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.4366, allocations: 8.891 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.4369, allocations: 142.4 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.437, allocations: 4.359 kB / 0.5646 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.437, allocations: 8.375 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.4372, allocations: 53.8 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4372, allocations: 3.938 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4372, allocations: 7.984 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4372, allocations: 4 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.4373, allocations: 19.98 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.4378, allocations: 255.9 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.438, allocations: 62.61 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.438, allocations: 28.78 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.4381, allocations: 0 / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.4382, allocations: 63.39 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4382, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000595/0.4388, allocations: 173.4 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.4389, allocations: 55.41 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.4391, allocations: 167.3 kB / 0.5655 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4391, allocations: 33.7 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.4392, allocations: 104.1 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.4392, allocations: 23.8 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4393, allocations: 25.64 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4394, allocations: 330.8 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.4395, allocations: 16 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.4395, allocations: 37.64 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.4397, allocations: 69.69 kB / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4397, allocations: 0 / 0.5661 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001935/0.4399, allocations: 97.53 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4399, allocations: 10.17 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4399, allocations: 4 kB / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4399, allocations: 0 / 0.5662 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.44, allocations: 12 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.44, allocations: 0 / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.44, allocations: 12.03 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.4401, allocations: 7.984 kB / 0.5663 GB, free: 14.43 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.0001158/0.4402, allocations: 117.8 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4402, allocations: 15.89 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.4405, allocations: 118.5 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4405, allocations: 0 / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4405, allocations: 0 / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4405, allocations: 0 / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.4409, allocations: 370.3 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4409, allocations: 0 / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.441, allocations: 11.98 kB / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.441, allocations: 0 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.441, allocations: 384 / 0.5669 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.441, allocations: 11.88 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.441, allocations: 4 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.4412, allocations: 208.3 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.4413, allocations: 11.91 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4413, allocations: 0 / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.4414, allocations: 15.92 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.4414, allocations: 0 / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4414, allocations: 7.984 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.4415, allocations: 127.2 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4415, allocations: 4 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.4418, allocations: 27.94 kB / 0.5673 GB, free: 13.31 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.002289/0.4441, allocations: 1.076 MB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4443, allocations: 59.84 kB / 0.5684 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4443, allocations: 3.938 kB / 0.5684 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.4444, allocations: 27.98 kB / 0.5684 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.4447, allocations: 28.05 kB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.4466, allocations: 1.608 MB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.447, allocations: 0.6963 MB / 0.5707 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.447, allocations: 20.97 kB / 0.5707 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.4471, allocations: 31.42 kB / 0.5707 GB, free: 9.777 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4471, allocations: 0 / 0.5707 GB, free: 9.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.4777, allocations: 3.508 MB / 0.5742 GB, free: 6.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.4, allocations: 7.078 kB / 0.5742 GB, free: 6.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.554248270113021]