Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001318/0.001318, allocations: 110 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.001632/0.001632, allocations: 213.1 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2439/0.2439, allocations: 46.92 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] 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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003247/0.003247, allocations: 91.84 kB / 0.4963 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3975, allocations: 66.09 MB / 0.5608 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003577/0.401, allocations: 1.731 MB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.4031, allocations: 1.045 MB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.4031, allocations: 7.938 kB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.4036, allocations: 47.75 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.4039, allocations: 99.53 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.4041, allocations: 79.67 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.4044, allocations: 99.75 kB / 0.5638 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.4045, allocations: 5.828 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.4046, allocations: 55.72 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.4047, allocations: 35.78 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.4047, allocations: 4 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4048, allocations: 39.98 kB / 0.564 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.4049, allocations: 19.91 kB / 0.564 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.4049, allocations: 43.73 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4052, allocations: 123.4 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4052, allocations: 0 / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4052, allocations: 4 kB / 0.5642 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4052, allocations: 0 / 0.5642 GB, free: 0.7812 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.0006432/0.4058, allocations: 353.5 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4059, allocations: 8.031 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.4059, allocations: 34.75 kB / 0.5645 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.4059, allocations: 12.89 kB / 0.5645 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.4063, allocations: 174.2 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4063, allocations: 4.375 kB / 0.5647 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.4063, allocations: 4.375 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.4064, allocations: 57.8 kB / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4065, allocations: 0 / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.4065, allocations: 0 / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4065, allocations: 0 / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.4066, allocations: 27.86 kB / 0.5648 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.407, allocations: 263.9 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4071, allocations: 54.67 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.4072, allocations: 16.86 kB / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4072, allocations: 0 / 0.5651 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.4074, allocations: 75.33 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.4074, allocations: 0 / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.4079, allocations: 181.3 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.408, allocations: 51.41 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.4082, allocations: 218.2 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.264e-05/0.4083, allocations: 29.7 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.4084, allocations: 104.1 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.4084, allocations: 27.78 kB / 0.5658 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.4085, allocations: 33.7 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4086, allocations: 326.8 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.4087, allocations: 20.38 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.4088, allocations: 33.7 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4089, allocations: 61.64 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4089, allocations: 4 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002316/0.4091, allocations: 101.6 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4091, allocations: 11.94 kB / 0.5663 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4091, allocations: 3.984 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4091, allocations: 0 / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.4092, allocations: 12 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4093, allocations: 4 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.4093, allocations: 0 / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.4093, allocations: 11.98 kB / 0.5664 GB, free: 14.3 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.0001273/0.4094, allocations: 131.1 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.4095, allocations: 15.91 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.4097, allocations: 119 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4097, allocations: 0 / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4097, allocations: 4 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4097, allocations: 0 / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.4102, allocations: 366.3 kB / 0.567 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4102, allocations: 4.031 kB / 0.567 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.4103, allocations: 8 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4103, allocations: 192 / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4103, allocations: 4 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4103, allocations: 7.875 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4103, allocations: 0 / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4105, allocations: 212.5 kB / 0.5672 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.4106, allocations: 11.95 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.4106, allocations: 8 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.4107, allocations: 3.938 kB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.4107, allocations: 7.984 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.4107, allocations: 7.984 kB / 0.5672 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.4109, allocations: 156.3 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4109, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4111, allocations: 27.92 kB / 0.5674 GB, free: 13.13 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.002277/0.4134, allocations: 1.089 MB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.4136, allocations: 63.83 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4136, allocations: 0 / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.03e-05/0.4137, allocations: 20 kB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.4141, allocations: 31.91 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.4164, allocations: 1.688 MB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.4168, allocations: 0.708 MB / 0.5709 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.4169, allocations: 24.88 kB / 0.571 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.417, allocations: 39.42 kB / 0.571 GB, free: 9.492 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.417, allocations: 4 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.4488, allocations: 3.67 MB / 0.5746 GB, free: 5.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.68, allocations: 7.234 kB / 0.5746 GB, free: 5.852 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.774445855990052]