Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001259/0.001259, 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.001442/0.001442, allocations: 214.2 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.93 MB / 360.8 MB, free: 4.18 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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002576/0.002576, allocations: 79.88 kB / 0.4963 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3987, allocations: 66.07 MB / 0.5608 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003611/0.4023, allocations: 1.759 MB / 0.5625 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.4042, allocations: 1.041 MB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.4043, allocations: 0 / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.4046, allocations: 47.75 kB / 0.5636 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.4049, allocations: 107.5 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.4051, allocations: 75.69 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.4053, allocations: 103.7 kB / 0.5638 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.4054, allocations: 13.81 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.4055, allocations: 43.73 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.353e-05/0.4056, allocations: 35.78 kB / 0.5639 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4056, allocations: 4 kB / 0.5639 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.4057, allocations: 39.98 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.4058, allocations: 23.92 kB / 0.564 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.4059, allocations: 39.73 kB / 0.564 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.4061, allocations: 131.4 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4061, allocations: 0 / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4061, allocations: 0 / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.4061, allocations: 0 / 0.5642 GB, free: 0.6914 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.0006988/0.4068, allocations: 353.5 kB / 0.5645 GB, free: 324 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4069, allocations: 8.031 kB / 0.5645 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.4069, allocations: 34.75 kB / 0.5645 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.4069, allocations: 12.88 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.4073, allocations: 166.2 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4073, allocations: 4.375 kB / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.4073, allocations: 384 / 0.5647 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.4075, allocations: 57.8 kB / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4075, allocations: 0 / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4075, allocations: 0 / 0.5648 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4075, allocations: 8.031 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.931e-05/0.4076, allocations: 19.88 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.408, allocations: 271.9 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.4082, allocations: 50.61 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.4083, allocations: 16.92 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.4083, allocations: 7.984 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.4085, allocations: 71.33 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.4085, allocations: 0 / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005879/0.4091, allocations: 185.2 kB / 0.5654 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4091, allocations: 59.39 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4093, allocations: 210.2 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.4094, allocations: 29.7 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.4094, allocations: 108.1 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.4095, allocations: 23.8 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.4095, allocations: 29.7 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.4097, allocations: 326.8 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.4098, allocations: 19.98 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.4098, allocations: 33.72 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.41, allocations: 65.62 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.41, allocations: 0 / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002064/0.4102, allocations: 109.5 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4102, allocations: 4 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4102, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4102, allocations: 4 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.4103, allocations: 12 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4103, allocations: 0 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.4104, allocations: 11.98 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.4104, allocations: 0 / 0.5664 GB, free: 14.21 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.0001352/0.4105, allocations: 129.8 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4105, allocations: 19.89 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.4108, allocations: 119.1 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4108, allocations: 0 / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4108, allocations: 3.984 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4108, allocations: 0 / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.4113, allocations: 366.3 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4113, allocations: 0 / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.966e-05/0.4113, allocations: 12.03 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4113, allocations: 4 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4114, allocations: 7.984 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4114, allocations: 3.938 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4114, allocations: 0 / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4116, allocations: 204.2 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.4116, allocations: 11.95 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.4117, allocations: 4 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.4117, allocations: 8.125 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.4118, allocations: 4.359 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.4118, allocations: 7.938 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.412, allocations: 160.3 kB / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.412, allocations: 0 / 0.5674 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.4122, allocations: 27.92 kB / 0.5674 GB, free: 13.05 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.002264/0.4145, allocations: 1.087 MB / 0.5685 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.4147, allocations: 63.83 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4147, allocations: 0 / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.4148, allocations: 27.98 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.4151, allocations: 19.98 kB / 0.5686 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4172, allocations: 1.696 MB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4176, allocations: 0.708 MB / 0.5709 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.4177, allocations: 16.58 kB / 0.5709 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.4177, allocations: 39.42 kB / 0.571 GB, free: 9.414 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4177, allocations: 0 / 0.571 GB, free: 9.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.4474, allocations: 3.684 MB / 0.5746 GB, free: 5.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.31, allocations: 4.062 kB / 0.5746 GB, free: 5.766 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.42288815509528]