Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001725/0.001725, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002019/0.002019, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.416/1.416, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.22/0.22, allocations: 46.93 MB / 360.8 MB, free: 3.922 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 75.88 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.305, allocations: 66.09 MB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002919/0.3079, allocations: 1.708 MB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3096, allocations: 0.971 MB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3096, allocations: 3.938 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3099, allocations: 55.75 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.3102, allocations: 99.59 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.3104, allocations: 87.59 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.3105, allocations: 99.75 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.3106, allocations: 9.828 kB / 0.5637 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.3107, allocations: 43.78 kB / 0.5638 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.3108, allocations: 39.72 kB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3108, allocations: 4 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.3109, allocations: 43.98 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.3109, allocations: 31.84 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.311, allocations: 35.73 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3112, allocations: 139.4 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3112, allocations: 0 / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3112, allocations: 4 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3112, allocations: 0 / 0.564 GB, free: 0.6406 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.0005664/0.3118, allocations: 377.2 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3118, allocations: 12.03 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.3119, allocations: 42.67 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.3119, allocations: 20.84 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3122, allocations: 166.1 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3122, allocations: 4.375 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3122, allocations: 384 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3123, allocations: 61.8 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3124, allocations: 0 / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3124, allocations: 0 / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3124, allocations: 3.938 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.3125, allocations: 27.97 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.3128, allocations: 268 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.313, allocations: 54.67 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.3131, allocations: 28.78 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3131, allocations: 0 / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.3133, allocations: 67.39 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3133, allocations: 0 / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005521/0.3138, allocations: 193.2 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3138, allocations: 55.41 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3141, allocations: 281.3 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3142, allocations: 37.7 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.3142, allocations: 120.1 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3143, allocations: 23.84 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.3143, allocations: 17.72 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3145, allocations: 338.8 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.3145, allocations: 16 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.3146, allocations: 33.7 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.3147, allocations: 65.64 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3147, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000225/0.315, allocations: 125.5 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.315, allocations: 6.188 kB / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.315, allocations: 192 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.315, allocations: 0 / 0.5664 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.3151, allocations: 23.92 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3151, allocations: 384 / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.3151, allocations: 0 / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3151, allocations: 7.938 kB / 0.5664 GB, free: 14 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.0001233/0.3153, allocations: 141.7 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.3153, allocations: 27.94 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3156, allocations: 127 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3156, allocations: 4 kB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3156, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3156, allocations: 0 / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.316, allocations: 382.3 kB / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.316, allocations: 0 / 0.5671 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3161, allocations: 15.94 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3161, allocations: 0 / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3161, allocations: 4 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3161, allocations: 11.97 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3161, allocations: 0 / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.3164, allocations: 220.2 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.3164, allocations: 15.89 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3164, allocations: 8 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.3165, allocations: 3.938 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.3165, allocations: 7.984 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3165, allocations: 4 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3167, allocations: 219.5 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3167, allocations: 4 kB / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.317, allocations: 27.98 kB / 0.5676 GB, free: 12.71 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 (9): * Single equations (assignments): 7 * 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.00231/0.3193, allocations: 1.126 MB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3195, allocations: 63.84 kB / 0.5687 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3195, allocations: 3.938 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.3196, allocations: 35.92 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3199, allocations: 23.98 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.322, allocations: 1.872 MB / 0.5706 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.3221, allocations: 117.2 kB / 0.5707 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.3221, allocations: 21.27 kB / 0.5708 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.3222, allocations: 47.42 kB / 0.5708 GB, free: 9.438 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3222, allocations: 0 / 0.5708 GB, free: 9.438 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.3517, allocations: 4.53 MB / 0.5752 GB, free: 4.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.95, allocations: 4.062 kB / 0.5752 GB, free: 4.934 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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: 13.830359153915197]