Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001381/0.001381, allocations: 114 kB / 20.44 MB, free: 1.469 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.001669/0.001669, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.582/1.582, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2467/0.2467, allocations: 46.92 MB / 360.8 MB, free: 4.191 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 79.88 kB / 0.4963 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3932, allocations: 66.09 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003575/0.3968, allocations: 1.69 MB / 0.5624 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3987, allocations: 1.029 MB / 0.5635 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.3988, allocations: 0 / 0.5635 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.3991, allocations: 55.75 kB / 0.5635 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.3995, allocations: 91.61 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3997, allocations: 79.66 kB / 0.5637 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3999, allocations: 99.64 kB / 0.5638 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.3999, allocations: 8.234 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.4, allocations: 51.77 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.4001, allocations: 35.73 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.4001, allocations: 4 kB / 0.5639 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.4002, allocations: 27.98 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.4003, allocations: 31.91 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.4004, allocations: 39.62 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.4006, allocations: 121.3 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4006, allocations: 3.984 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4006, allocations: 0 / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4006, allocations: 4 kB / 0.5641 GB, free: 0.9219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006252/0.4012, allocations: 377.3 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4013, allocations: 8.031 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.4013, allocations: 30.75 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.4014, allocations: 12.89 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4017, allocations: 159.2 kB / 0.5646 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4017, allocations: 8.375 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.4017, allocations: 4.359 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4019, allocations: 49.75 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4019, allocations: 0 / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.4019, allocations: 4 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4019, allocations: 4 kB / 0.5647 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.402, allocations: 15.98 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.4023, allocations: 164.8 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.4024, allocations: 42.62 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.4025, allocations: 24.78 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4025, allocations: 4 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.4028, allocations: 71.33 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.063e-06/0.4028, allocations: 0 / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000339/0.4031, allocations: 97.58 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.4032, allocations: 55.39 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.4035, allocations: 274.7 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4035, allocations: 25.7 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.4036, allocations: 116.1 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.4037, allocations: 19.84 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.4037, allocations: 17.72 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4039, allocations: 326.8 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.4039, allocations: 12 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.404, allocations: 33.69 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.4041, allocations: 49.95 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.4041, allocations: 4 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001725/0.4043, allocations: 89.47 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4043, allocations: 4 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4043, allocations: 3.938 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.4043, allocations: 7.938 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.4044, allocations: 11.98 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4044, allocations: 0 / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.4045, allocations: 7.984 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4045, allocations: 4 kB / 0.5661 GB, free: 14.61 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 (7): * Single equations (assignments): 7 * 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.00014/0.4046, allocations: 141.3 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.4047, allocations: 19.84 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.4049, allocations: 90.75 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4049, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4049, allocations: 0 / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4049, allocations: 4 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.4051, allocations: 168.7 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4051, allocations: 7.938 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.4051, allocations: 4 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4051, allocations: 0 / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4051, allocations: 3.938 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4052, allocations: 4 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4052, allocations: 0 / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4054, allocations: 109 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.4054, allocations: 19.83 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.4054, allocations: 8.188 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.4054, allocations: 7.984 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.4055, allocations: 4 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4055, allocations: 4 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.4057, allocations: 204.6 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4057, allocations: 0 / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.4059, allocations: 15.94 kB / 0.5669 GB, free: 13.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001936/0.4079, allocations: 0.9517 MB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.408, allocations: 35.98 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.408, allocations: 0 / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.4081, allocations: 23.92 kB / 0.5679 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.4084, allocations: 37.89 kB / 0.5679 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.4104, allocations: 1.686 MB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.4108, allocations: 0.7157 MB / 0.5703 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.4109, allocations: 12.48 kB / 0.5703 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.4109, allocations: 39.42 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4109, allocations: 0 / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.4473, allocations: 3.646 MB / 0.5739 GB, free: 6.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 9.469 kB / 0.5739 GB, free: 6.625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.670026690000668]